| Index: chrome/renderer/renderer_main.cc
|
| diff --git a/chrome/renderer/renderer_main.cc b/chrome/renderer/renderer_main.cc
|
| index a380902009b8887d2540b9ca9008ca2b7cbcbe06..60f41774d3324a712fe2f9c8f1ef8e9857d60b34 100644
|
| --- a/chrome/renderer/renderer_main.cc
|
| +++ b/chrome/renderer/renderer_main.cc
|
| @@ -23,6 +23,7 @@
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_counters.h"
|
| #include "chrome/common/chrome_switches.h"
|
| +#include "chrome/common/gfx_resource_provider.h"
|
| #include "chrome/common/logging_chrome.h"
|
| #include "chrome/common/main_function_params.h"
|
| #include "chrome/common/net/net_resource_provider.h"
|
| @@ -30,6 +31,7 @@
|
| #include "chrome/renderer/renderer_main_platform_delegate.h"
|
| #include "chrome/renderer/render_process_impl.h"
|
| #include "chrome/renderer/render_thread.h"
|
| +#include "gfx/gfx_module.h"
|
| #include "grit/generated_resources.h"
|
| #include "net/base/net_module.h"
|
|
|
| @@ -213,8 +215,9 @@ int RendererMain(const MainFunctionParams& parameters) {
|
| InitCrashReporter();
|
| #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);
|
|
|
| // This function allows pausing execution using the --renderer-startup-dialog
|
| // flag allowing us to attach a debugger.
|
|
|