From 36310b87297930b92e749c89caca4a4d00410093 Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Tue, 30 Apr 2024 20:32:11 -0400 Subject: [PATCH] chore: fixup gn check when enable_pdf_viewer is false (#41990) --- shell/app/electron_content_client.cc | 4 ++-- shell/browser/electron_browser_client.cc | 2 +- shell/renderer/renderer_client_base.cc | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/shell/app/electron_content_client.cc b/shell/app/electron_content_client.cc index d649dac1ec73..a7962dbbfa3e 100644 --- a/shell/app/electron_content_client.cc +++ b/shell/app/electron_content_client.cc @@ -39,8 +39,8 @@ #endif // BUILDFLAG(ENABLE_WIDEVINE) #if BUILDFLAG(ENABLE_PDF_VIEWER) -#include "components/pdf/common/constants.h" -#include "pdf/pdf.h" // nogncheck +#include "components/pdf/common/constants.h" // nogncheck +#include "pdf/pdf.h" // nogncheck #include "shell/common/electron_constants.h" #endif // BUILDFLAG(ENABLE_PDF_VIEWER) diff --git a/shell/browser/electron_browser_client.cc b/shell/browser/electron_browser_client.cc index c34deee930f6..cdaa21c48147 100644 --- a/shell/browser/electron_browser_client.cc +++ b/shell/browser/electron_browser_client.cc @@ -214,7 +214,7 @@ #include "components/pdf/browser/pdf_document_helper.h" // nogncheck #include "components/pdf/browser/pdf_navigation_throttle.h" #include "components/pdf/browser/pdf_url_loader_request_interceptor.h" -#include "components/pdf/common/constants.h" +#include "components/pdf/common/constants.h" // nogncheck #include "shell/browser/electron_pdf_document_helper_client.h" #endif diff --git a/shell/renderer/renderer_client_base.cc b/shell/renderer/renderer_client_base.cc index 2bbcc90365fd..d89a3ddff488 100644 --- a/shell/renderer/renderer_client_base.cc +++ b/shell/renderer/renderer_client_base.cc @@ -69,8 +69,8 @@ #endif #if BUILDFLAG(ENABLE_PDF_VIEWER) -#include "components/pdf/common/constants.h" -#include "components/pdf/common/pdf_util.h" +#include "components/pdf/common/constants.h" // nogncheck +#include "components/pdf/common/pdf_util.h" // nogncheck #include "components/pdf/renderer/pdf_internal_plugin_delegate.h" #include "shell/common/electron_constants.h" #endif // BUILDFLAG(ENABLE_PDF_VIEWER)