summaryrefslogtreecommitdiffstats
path: root/content/app
diff options
context:
space:
mode:
authornhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-13 09:30:11 +0000
committernhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-13 09:30:11 +0000
commit08961e988c34af9ee516fddce99b88ddbbec71a9 (patch)
tree7ce8a6c2c795f90ba858c094b7df314df438024e /content/app
parentad907cab8a57d73110eec0b75c8e8376497d39a2 (diff)
downloadchromium_src-08961e988c34af9ee516fddce99b88ddbbec71a9.zip
chromium_src-08961e988c34af9ee516fddce99b88ddbbec71a9.tar.gz
chromium_src-08961e988c34af9ee516fddce99b88ddbbec71a9.tar.bz2
Revert 217172 "Enable high resolution time for TimeTicks::Now on..."
There is a suspicion that this might break some tests: MessageLoopTest.PostDelayedTask_InPostOrder_2, StatsTableTest.StatsCounterTimer TimeTicks.Deltas http://build.chromium.org/p/chromium.win/builders/XP%20Tests%20%282%29/builds/30128 http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/21737 > Enable high resolution time for TimeTicks::Now on Windows Canary > > This should be unnoticeable, except for improved resolution in places such as window.performance.now(). > > The feature is enabled if the user is running Canary channel or has manually specified the --enable-high-resolution-time flag. This will only work if the CPU has a non-stop TSC and isn't a broken Athlon processor. UMA data show this is a safe combination. > > The flag is propagated to renderer processes so that they know to enable it too. > > BUG=158234 > > Review URL: https://chromiumcodereview.appspot.com/16896018 TBR=simonjam@chromium.org Review URL: https://codereview.chromium.org/22984005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217226 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/app')
-rw-r--r--content/app/content_main_runner.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index 4f8195c..6554d57 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -671,9 +671,6 @@ 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();