summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Sergeev <dzhioev@chromium.org>2015-01-28 21:02:52 +0300
committerPavel Sergeev <dzhioev@chromium.org>2015-01-28 18:04:23 +0000
commit5973bbf6de1b18eb3fc31b0fa76b8787ba58177b (patch)
treeb1b5e3efb7aed12582e6e4cafded6be127b3be98
parentf75b4154fbd7d41a4274f5e7a0dbcd17394c5dbb (diff)
downloadchromium_src-5973bbf6de1b18eb3fc31b0fa76b8787ba58177b.zip
chromium_src-5973bbf6de1b18eb3fc31b0fa76b8787ba58177b.tar.gz
chromium_src-5973bbf6de1b18eb3fc31b0fa76b8787ba58177b.tar.bz2
Disabled animation in indeterminate progress bar.
The animation caused high CPU usage at OOBE, even when progress bar was hidden. <indeterminate-progress> is used only in Hotrod pairing flow, which is not released yet, so the animation could be safely disabled for now. <indeterminate- progress> will be completely replaced by <paper-progress indeterminate> in scope of http://crbug.com/423363 BUG=450758 NOTRY=true Review URL: https://codereview.chromium.org/874923003 Cr-Commit-Position: refs/heads/master@{#313262} (cherry picked from commit ddacbb0e77f0350fe9e832bb36e33267b4918ed5) Review URL: https://codereview.chromium.org/883033002 Cr-Commit-Position: refs/branch-heads/2214@{#464} Cr-Branched-From: 03655fd3f6d72165dc3c9bd2c89807305316fe6c-refs/heads/master@{#303346}
-rw-r--r--chrome/browser/resources/chromeos/login/indeterminate-progress.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/resources/chromeos/login/indeterminate-progress.js b/chrome/browser/resources/chromeos/login/indeterminate-progress.js
index 3c13c33..2a59b27 100644
--- a/chrome/browser/resources/chromeos/login/indeterminate-progress.js
+++ b/chrome/browser/resources/chromeos/login/indeterminate-progress.js
@@ -20,7 +20,6 @@ Polymer('indeterminate-progress', {
},
ready: function() {
- this.async(this.doProgress, null, this.timeout);
},
doProgress: function() {