Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 309e4eb4e5e5b5e14bfe5361916cab4e875f1020..2800dcd391f5f37faa4e1e3f5e703f45232beabb 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -108,6 +108,7 @@ |
#include "components/tracing/common/graphics_memory_dump_provider_android.h" |
#include "content/browser/android/browser_startup_controller.h" |
#include "content/browser/android/browser_surface_texture_manager.h" |
+#include "content/browser/android/scoped_surface_request_manager.h" |
#include "content/browser/android/tracing_controller_android.h" |
#include "content/browser/media/android/browser_media_player_manager.h" |
#include "content/browser/renderer_host/context_provider_factory_impl_android.h" |
@@ -629,6 +630,8 @@ void BrowserMainLoop::PostMainMessageLoopStart() { |
if (parsed_command_line_.HasSwitch(switches::kSingleProcess)) { |
gpu::SurfaceTextureManager::SetInstance( |
gpu::InProcessSurfaceTextureManager::GetInstance()); |
+ gpu::ScopedSurfaceRequestConduit::SetInstance( |
+ ScopedSurfaceRequestManager::GetInstance()); |
} else { |
gpu::SurfaceTextureManager::SetInstance( |
BrowserSurfaceTextureManager::GetInstance()); |
@@ -637,7 +640,7 @@ void BrowserMainLoop::PostMainMessageLoopStart() { |
} |
if (!parsed_command_line_.HasSwitch( |
- switches::kDisableScreenOrientationLock)) { |
+ switches::kDisableScreenOrientationLock)) { |
TRACE_EVENT0("startup", |
"BrowserMainLoop::Subsystem:ScreenOrientationProvider"); |
screen_orientation_delegate_.reset( |