Chromium Code Reviews| Index: content/browser/browser_main_loop.cc |
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
| index 64cec9e6912b070218b96191faaa6b7e7d8e5626..15e4a3d015d6505b03a32651680f6efbbef0a985 100644 |
| --- a/content/browser/browser_main_loop.cc |
| +++ b/content/browser/browser_main_loop.cc |
| @@ -129,6 +129,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/browser/system_message_window_win.h" |
| #include "content/common/sandbox_win.h" |
| #include "net/base/winsock_init.h" |
| @@ -594,6 +596,8 @@ void BrowserMainLoop::PostMainMessageLoopStart() { |
| #if defined(OS_WIN) |
| system_message_window_.reset(new SystemMessageWindowWin); |
| + if (base::win::GetVersion() >= base::win::VERSION_WIN8) |
| + screen_orientation_delegate_.reset(new ScreenOrientationDelegateWin()); |
|
cpu_(ooo_6.6-7.5)
2016/03/11 02:12:01
can this be later? like in PostMainMessageLoopStar
aleksandar.stojiljkovic
2016/03/11 19:29:26
Don't know.
Same thing for Android is in this meth
|
| #endif |
| // TODO(boliu): kSingleProcess check is a temporary workaround for |