diff options
Diffstat (limited to 'content/app')
-rw-r--r-- | content/app/content_main_runner.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc index 9fc34c2..7bfc37b 100644 --- a/content/app/content_main_runner.cc +++ b/content/app/content_main_runner.cc @@ -686,6 +686,9 @@ class ContentMainRunnerImpl : public ContentMainRunner { MachBroker::ChildSendTaskPortToParent(); } #elif defined(OS_WIN) + if (command_line.HasSwitch(switches::kEnableHighResolutionTime)) + base::TimeTicks::SetNowIsHighResNowIfSupported(); + // This must be done early enough since some helper functions like // IsTouchEnabled, needed to load resources, may call into the theme dll. EnableThemeSupportOnAllWindowStations(); |