| Index: chrome/browser/browser_main.cc
|
| diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
|
| index 961f7837c1d439fe5ad5f6819be05850020f4a60..8fe89a24c6c40d20b94bb117292b52d60dac3f91 100644
|
| --- a/chrome/browser/browser_main.cc
|
| +++ b/chrome/browser/browser_main.cc
|
| @@ -78,6 +78,7 @@
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/env_vars.h"
|
| +#include "chrome/common/gfx_resource_provider.h"
|
| #include "chrome/common/json_pref_store.h"
|
| #include "chrome/common/jstemplate_builder.h"
|
| #include "chrome/common/logging_chrome.h"
|
| @@ -86,6 +87,7 @@
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/result_codes.h"
|
| #include "chrome/installer/util/google_update_settings.h"
|
| +#include "gfx/gfx_module.h"
|
| #include "grit/app_locale_settings.h"
|
| #include "grit/chromium_strings.h"
|
| #include "grit/generated_resources.h"
|
| @@ -1497,8 +1499,9 @@ int BrowserMain(const MainFunctionParams& parameters) {
|
| #endif
|
| #endif
|
|
|
| - // Configure the network module so it has access to resources.
|
| + // Configure modules that need access to resources.
|
| net::NetModule::SetResourceProvider(chrome_common_net::NetResourceProvider);
|
| + gfx::GfxModule::SetResourceProvider(chrome::GfxResourceProvider);
|
|
|
| // Register our global network handler for chrome:// and
|
| // chrome-extension:// URLs.
|
|
|