Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: chrome/browser/ui/views/download/download_item_view.h

Issue 1538773002: Reduce CPU usage of download shelf UI. (both MD and pre-MD shelves) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/download/download_item_view.h
diff --git a/chrome/browser/ui/views/download/download_item_view.h b/chrome/browser/ui/views/download/download_item_view.h
index 7504ce9bb9f0020d2020fd33021d56dd93ffa559..24929850acb2c1a61dfc80e5d2581fff358c1333 100644
--- a/chrome/browser/ui/views/download/download_item_view.h
+++ b/chrome/browser/ui/views/download/download_item_view.h
@@ -307,9 +307,6 @@ class DownloadItemView : public views::ButtonListener,
// Animation for download complete.
scoped_ptr<gfx::SlideAnimation> complete_animation_;
- // Progress animation
- base::RepeatingTimer progress_timer_;
-
// Dangerous mode buttons.
views::LabelButton* save_button_;
views::LabelButton* discard_button_;

Powered by Google App Engine
This is Rietveld 408576698