Index: content/app/content_main_runner.cc |
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc |
index 3f1bc1cc6ccd29107c25e76416c63df9afa8bbd8..7dcf0ff8a5323f84373c353989d344465a93013e 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(); |