Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 2109f7cc5c1be0c3c5f08456837ee579621836f1..b22503f2294e3793758110cf245b9d06a683c422 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -109,6 +109,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" |
@@ -630,6 +631,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()); |
@@ -638,7 +641,7 @@ void BrowserMainLoop::PostMainMessageLoopStart() { |
} |
if (!parsed_command_line_.HasSwitch( |
- switches::kDisableScreenOrientationLock)) { |
+ switches::kDisableScreenOrientationLock)) { |
TRACE_EVENT0("startup", |
"BrowserMainLoop::Subsystem:ScreenOrientationProvider"); |
screen_orientation_delegate_.reset( |