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

Unified Diff: chrome/browser/chromeos/login/rounded_view.h

Issue 6529037: Rename ProcessPaint to Paint() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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/touch/tabs/touch_tab_strip.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/rounded_view.h
===================================================================
--- chrome/browser/chromeos/login/rounded_view.h (revision 75035)
+++ chrome/browser/chromeos/login/rounded_view.h (working copy)
@@ -42,7 +42,7 @@
RoundedView(const D1& val1, const D2& val2) : C(val1, val2) {}
// Overrides views::View.
- virtual void ProcessPaint(gfx::Canvas* canvas);
+ virtual void Paint(gfx::Canvas* canvas);
protected:
// Returns the path that will be used for a clip.
@@ -58,12 +58,12 @@
// RoundedView implementation.
template <typename C>
-void RoundedView<C>::ProcessPaint(gfx::Canvas* canvas) {
+void RoundedView<C>::Paint(gfx::Canvas* canvas) {
// Setup clip region.
canvas->Save();
canvas->AsCanvasSkia()->clipPath(GetClipPath());
// Do original painting.
- C::ProcessPaint(canvas);
+ C::Paint(canvas);
canvas->Restore();
// Add frame.
DrawFrame(canvas);
« no previous file with comments | « no previous file | chrome/browser/ui/touch/tabs/touch_tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698