Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3710)

Unified Diff: chrome/app/chrome_main_delegate.cc

Issue 906923003: Fix fonts not loading in PDFs that don't embed them. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/child/pdf_child_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main_delegate.cc
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
index 7a840221a2a8c9a388e6313251d705644c1d0c4d..7af7949ead06eeb06b06ace9aea700fe572e5ec1 100644
--- a/chrome/app/chrome_main_delegate.cc
+++ b/chrome/app/chrome_main_delegate.cc
@@ -776,16 +776,16 @@ void ChromeMainDelegate::PreSandboxStartup() {
#endif
CHECK(!loaded_locale.empty()) << "Locale could not be found for " <<
locale;
+ }
#if !defined(CHROME_MULTIPLE_DLL_BROWSER)
- if (process_type == switches::kUtilityProcess ||
- process_type == switches::kZygoteProcess) {
- ChromeContentUtilityClient::PreSandboxStartup();
- }
+ if (process_type == switches::kUtilityProcess ||
+ process_type == switches::kZygoteProcess) {
+ ChromeContentUtilityClient::PreSandboxStartup();
+ }
- chrome::InitializePDF();
+ chrome::InitializePDF();
#endif
- }
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Zygote needs to call InitCrashReporter() in RunZygote().
« no previous file with comments | « no previous file | chrome/child/pdf_child_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698