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

Unified Diff: ash/common/shelf/wm_shelf.cc

Issue 2267803003: ash: Remove unnecessary WmShelf::SchedulePaint() method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months 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: ash/common/shelf/wm_shelf.cc
diff --git a/ash/common/shelf/wm_shelf.cc b/ash/common/shelf/wm_shelf.cc
index 946dafaf5504467de6fac873f89afe743d1fb80e..2dd361f09555a5c15753713bcd9ed1164a1860e5 100644
--- a/ash/common/shelf/wm_shelf.cc
+++ b/ash/common/shelf/wm_shelf.cc
@@ -105,12 +105,6 @@ bool WmShelf::IsDimmed() const {
return shelf_layout_manager_->shelf_widget()->GetDimsShelf();
}
-void WmShelf::SchedulePaint() {
- // Can be called during shutdown if the overflow bubble is visible.
- if (shelf_)
- shelf_->SchedulePaint();
-}
-
bool WmShelf::IsVisible() const {
return shelf_->IsVisible();
}

Powered by Google App Engine
This is Rietveld 408576698