Browse Source

build: fix building with no PDF support (#38003)

Alexey Kuzmin 2 years ago
parent
commit
1ffe7ee76b

+ 1 - 1
shell/browser/extensions/api/resources_private/resources_private_api.cc

@@ -9,7 +9,6 @@
 
 #include "base/values.h"
 #include "chrome/browser/browser_process.h"
-#include "chrome/browser/pdf/pdf_extension_util.h"
 #include "chrome/common/extensions/api/resources_private.h"
 #include "chrome/grit/generated_resources.h"
 #include "components/strings/grit/components_strings.h"
@@ -20,6 +19,7 @@
 #include "ui/base/webui/web_ui_util.h"
 
 #if BUILDFLAG(ENABLE_PDF)
+#include "chrome/browser/pdf/pdf_extension_util.h"
 #include "pdf/pdf_features.h"
 #endif  // BUILDFLAG(ENABLE_PDF)