| Index: content/browser/browser_main_loop.cc
|
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
|
| index 86cc1a6243abfe6790abc9f611ead394876f2eb1..5c1975b19c9b6ce8be6e59616651dc3925ba9649 100644
|
| --- a/content/browser/browser_main_loop.cc
|
| +++ b/content/browser/browser_main_loop.cc
|
| @@ -566,7 +566,8 @@ void BrowserMainLoop::MainMessageLoopStart() {
|
| SurfaceTextureManager::InitInstance(new BrowserSurfaceTextureManager);
|
| }
|
|
|
| - {
|
| + if (!parsed_command_line_.HasSwitch(
|
| + switches::kDisableScreenOrientationLock)) {
|
| TRACE_EVENT0("startup",
|
| "BrowserMainLoop::Subsystem:ScreenOrientationProvider");
|
| screen_orientation_delegate_.reset(
|
|
|