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

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_action_view.h

Issue 1053143002: Make View::Paint use ui::PaintRecorder to access PaintContext's canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: paintrecorder: . Created 5 years, 9 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: chrome/browser/ui/views/toolbar/toolbar_action_view.h
diff --git a/chrome/browser/ui/views/toolbar/toolbar_action_view.h b/chrome/browser/ui/views/toolbar/toolbar_action_view.h
index d428b22f69bcae26998817fc10e6bc79e8b510cc..229a259fc93afc1bc8a8119530b4f6f403cf0883 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_action_view.h
+++ b/chrome/browser/ui/views/toolbar/toolbar_action_view.h
@@ -120,7 +120,7 @@ class ToolbarActionView : public views::MenuButton,
void OnDragDone() override;
void ViewHierarchyChanged(
const ViewHierarchyChangedDetails& details) override;
- void PaintChildren(const PaintContext& context) override;
+ void PaintChildren(const ui::PaintContext& context) override;
void OnPaintBorder(gfx::Canvas* canvas) override;
// ToolbarActionViewDelegateViews:

Powered by Google App Engine
This is Rietveld 408576698