mirror of
https://github.com/imputnet/helium.git
synced 2026-08-20 00:57:32 +02:00
Fix print preview with service discovery disabled
This commit is contained in:
+14
@@ -40,3 +40,17 @@
|
||||
}
|
||||
|
||||
} // namespace media_router
|
||||
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
|
||||
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
|
||||
@@ -407,11 +407,9 @@ void AddPrintPreviewFlags(content::WebUI
|
||||
|
||||
source->AddBoolean("isEnterpriseManaged", webui::IsEnterpriseManaged());
|
||||
|
||||
-#if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
|
||||
source->AddBoolean(
|
||||
"forceEnablePrivetPrinting",
|
||||
profile->GetPrefs()->GetBoolean(prefs::kForceEnablePrivetPrinting));
|
||||
-#endif
|
||||
|
||||
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
source->AddBoolean(
|
||||
|
||||
Reference in New Issue
Block a user