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

Unified Diff: headless/lib/headless_content_main_delegate.cc

Issue 2753033004: Fix resources path for Mac non component build (Closed)
Patch Set: fixed uppercase Created 3 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/headless_content_main_delegate.cc
diff --git a/headless/lib/headless_content_main_delegate.cc b/headless/lib/headless_content_main_delegate.cc
index 739e95f483201083f8c1cdb01fdf509336627629..561f14be35cfa75812c88ee6cc6c9c45f652ab62 100644
--- a/headless/lib/headless_content_main_delegate.cc
+++ b/headless/lib/headless_content_main_delegate.cc
@@ -250,6 +250,9 @@ void HeadlessContentMainDelegate::InitializeResourceBundle() {
kHeadlessResourcePak.length),
ui::SCALE_FACTOR_NONE);
#else
+#if defined(OS_MACOSX) && !defined(COMPONENT_BUILD)
+ dir_module = dir_module.Append(FILE_PATH_LITERAL("Resources/"));
+#endif
// Try loading the headless library pak file first. If it doesn't exist (i.e.,
// when we're running with the --headless switch), fall back to the browser's
// resource pak.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698