| Index: content/browser/browser_main_loop.cc
|
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
|
| index 162f0269445b157301337215fa80f7ae86decccc..9526989a306992b033a65117a201386b6718cfbb 100644
|
| --- a/content/browser/browser_main_loop.cc
|
| +++ b/content/browser/browser_main_loop.cc
|
| @@ -131,6 +131,8 @@
|
| #include <shellapi.h>
|
|
|
| #include "base/memory/memory_pressure_monitor_win.h"
|
| +#include "base/win/windows_version.h"
|
| +#include "content/browser/screen_orientation/screen_orientation_delegate_win.h"
|
| #include "content/common/sandbox_win.h"
|
| #include "net/base/winsock_init.h"
|
| #include "ui/base/l10n/l10n_util_win.h"
|
| @@ -593,6 +595,11 @@ void BrowserMainLoop::PostMainMessageLoopStart() {
|
| }
|
| #endif // !defined(OS_IOS)
|
|
|
| +#if defined(OS_WIN)
|
| + if (base::win::GetVersion() >= base::win::VERSION_WIN8)
|
| + screen_orientation_delegate_.reset(new ScreenOrientationDelegateWin());
|
| +#endif
|
| +
|
| // TODO(boliu): kSingleProcess check is a temporary workaround for
|
| // in-process Android WebView. crbug.com/503724 tracks proper fix.
|
| if (!parsed_command_line_.HasSwitch(switches::kSingleProcess)) {
|
|
|