| Index: content/browser/browser_main_loop.cc
|
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
|
| index 50d0d8260023e27e578585f37344b5151a9b4a86..340babf8207f4352fbc26a210dfa569e4dac8a95 100644
|
| --- a/content/browser/browser_main_loop.cc
|
| +++ b/content/browser/browser_main_loop.cc
|
| @@ -93,6 +93,7 @@
|
| #if defined(OS_MACOSX) && !defined(OS_IOS)
|
| #include "base/memory/memory_pressure_monitor_mac.h"
|
| #include "content/browser/bootstrap_sandbox_mac.h"
|
| +#include "content/browser/browser_io_surface_manager_mac.h"
|
| #include "content/browser/cocoa/system_hotkey_helper_mac.h"
|
| #include "content/browser/compositor/browser_compositor_view_mac.h"
|
| #include "content/browser/theme_helper_mac.h"
|
| @@ -586,6 +587,13 @@ void BrowserMainLoop::MainMessageLoopStart() {
|
| }
|
| #endif
|
|
|
| +#if defined(OS_MACOSX) && !defined(OS_IOS)
|
| + {
|
| + TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:IOSurfaceManager");
|
| + IOSurfaceManager::SetInstance(BrowserIOSurfaceManager::GetInstance());
|
| + }
|
| +#endif
|
| +
|
| if (parsed_command_line_.HasSwitch(switches::kMemoryMetrics)) {
|
| TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:MemoryObserver");
|
| memory_observer_.reset(new MemoryObserver());
|
|
|