From 71e8a5ca80e029f8659c4e897ed17489d9de86b5 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 22 Apr 2026 05:33:59 -0500 Subject: [PATCH] build: FTBFS when pdf is disabled (#51223) fix: FTBFS when pdf is disabled pdf_features.h has a static_assert that pdf is enabled --- shell/browser/electron_browser_client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/browser/electron_browser_client.cc b/shell/browser/electron_browser_client.cc index b66f6793e1..cd2e7ab30f 100644 --- a/shell/browser/electron_browser_client.cc +++ b/shell/browser/electron_browser_client.cc @@ -63,7 +63,6 @@ #include "mojo/public/cpp/bindings/self_owned_associated_receiver.h" #include "net/ssl/ssl_cert_request_info.h" #include "net/ssl/ssl_private_key.h" -#include "pdf/pdf_features.h" #include "printing/buildflags/buildflags.h" #include "services/device/public/cpp/geolocation/geolocation_system_permission_manager.h" #include "services/device/public/cpp/geolocation/location_provider.h" @@ -230,6 +229,7 @@ #include "components/pdf/browser/pdf_navigation_throttle.h" #include "components/pdf/browser/pdf_url_loader_request_interceptor.h" #include "components/pdf/common/constants.h" // nogncheck +#include "pdf/pdf_features.h" #include "shell/browser/electron_pdf_document_helper_client.h" #include "ui/webui/resources/cr_components/help_bubble/help_bubble.mojom.h" // nogncheck #endif