Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
build: fix building with enable_basic_printing false (electron#35687)
Browse files Browse the repository at this point in the history
Co-authored-by: Milan Burda <miburda@microsoft.com>
  • Loading branch information
2 people authored and khalwa committed Feb 22, 2023
1 parent 2a96c35 commit f54d9f4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions shell/browser/api/electron_api_web_contents.cc
100755 → 100644
Expand Up @@ -144,6 +144,10 @@
#include "shell/browser/osr/osr_web_contents_view.h"
#endif

#if BUILDFLAG(IS_WIN)
#include "shell/browser/native_window_views.h"
#endif

#if !BUILDFLAG(IS_MAC)
#include "ui/aura/window.h"
#else
Expand Down Expand Up @@ -176,9 +180,8 @@

#if BUILDFLAG(IS_WIN)
#include "printing/backend/win_helper.h"
#include "shell/browser/native_window_views.h"
#endif
#endif
#endif // BUILDFLAG(ENABLE_PRINTING)

#if BUILDFLAG(ENABLE_PICTURE_IN_PICTURE)
#include "chrome/browser/picture_in_picture/picture_in_picture_window_manager.h"
Expand Down

0 comments on commit f54d9f4

Please sign in to comment.