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

Unified Diff: ash/system/user/user_view.cc

Issue 275183002: patch from issue 218843002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/autofill_dialog_views.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/user_view.cc
diff --git a/ash/system/user/user_view.cc b/ash/system/user/user_view.cc
index 6707686419e4cfc64ecea04d5ddbaf6c6a470f5f..289da2837ef76e32112f873d766a19c973713c57 100644
--- a/ash/system/user/user_view.cc
+++ b/ash/system/user/user_view.cc
@@ -95,10 +95,11 @@ class LogoutButton : public TrayPopupLabelButton {
virtual ~LogoutButton() {}
private:
- virtual void Paint(gfx::Canvas* canvas) OVERRIDE {
+ virtual void Paint(gfx::Canvas* canvas,
+ const views::CullSet& cull_set) OVERRIDE {
// Just skip paint if this button used as a placeholder.
if (!placeholder_)
- TrayPopupLabelButton::Paint(canvas);
+ TrayPopupLabelButton::Paint(canvas, cull_set);
}
bool placeholder_;
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/autofill_dialog_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698