build: fix building with enable_basic_printing false (#35687)

Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
Milan Burda 2022-09-15 19:29:10 +02:00 committed by GitHub
parent 532162d2b5
commit 5cf15cdab7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

7
shell/browser/api/electron_api_web_contents.cc Executable file → Normal file
View file

@ -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
@ -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"