summaryrefslogtreecommitdiffstats
path: root/content/app/content_main_runner.cc
diff options
context:
space:
mode:
authorfmeawad@chromium.org <fmeawad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-01 01:01:42 +0000
committerfmeawad@chromium.org <fmeawad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-01 01:01:42 +0000
commit45b918c9aa9aba9f3743312f182ecde3906078a0 (patch)
tree34ca10c2fde48fd70c03d14acf76bc135a13c590 /content/app/content_main_runner.cc
parent9b21c6bd0ccbf66e556f250d7b09dd7fd3c1e60c (diff)
downloadchromium_src-45b918c9aa9aba9f3743312f182ecde3906078a0.zip
chromium_src-45b918c9aa9aba9f3743312f182ecde3906078a0.tar.gz
chromium_src-45b918c9aa9aba9f3743312f182ecde3906078a0.tar.bz2
Use HighResNow whenever possible on Windows.
Relanding simonjam@'s CL https://codereview.chromium.org/41953002/ to enable QPC. This may result in perf changes, the perf changes may only be in the measurements and not actual regressions. BUG=158234 Review URL: https://codereview.chromium.org/429053002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286928 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/app/content_main_runner.cc')
-rw-r--r--content/app/content_main_runner.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index 36074ba..d2301c8 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -658,8 +658,7 @@ class ContentMainRunnerImpl : public ContentMainRunner {
MachBroker::ChildSendTaskPortToParent();
}
#elif defined(OS_WIN)
- if (command_line.HasSwitch(switches::kEnableHighResolutionTime))
- base::TimeTicks::SetNowIsHighResNowIfSupported();
+ base::TimeTicks::SetNowIsHighResNowIfSupported();
bool init_device_scale_factor = true;
if (command_line.HasSwitch(switches::kDeviceScaleFactor)) {