Chromium Code Reviews| 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..ece762b8cd52ecfe71b309b80defd6fd99cd282a 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/")); |
|
Sami
2017/03/17 11:12:01
Should this be capitalized? The common pattern I s
dvallet
2017/03/17 19:46:11
You're right, funny I just realized that HFS+ is c
|
| +#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. |