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

Unified Diff: views/widget/root_view.cc

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 | « views/widget/root_view.h ('k') | views/widget/root_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/root_view.cc
===================================================================
--- views/widget/root_view.cc (revision 75035)
+++ views/widget/root_view.cc (working copy)
@@ -63,7 +63,7 @@
#ifndef NDEBUG
// Sets the value of RootView's |is_processing_paint_| member to true as long
-// as ProcessPaint is being called. Sets it to |false| when it returns.
+// as Paint() is being called. Sets it to |false| when it returns.
class ScopedProcessingPaint {
public:
explicit ScopedProcessingPaint(bool* is_processing_paint)
@@ -358,7 +358,7 @@
}
}
-void RootView::ProcessPaint(gfx::Canvas* canvas) {
+void RootView::Paint(gfx::Canvas* canvas) {
#ifndef NDEBUG
ScopedProcessingPaint processing_paint(&is_processing_paint_);
#endif
@@ -383,7 +383,7 @@
invalid_rect_.height());
// Paint the tree
- View::ProcessPaint(canvas);
+ View::Paint(canvas);
// Restore the previous transform
canvas->Restore();
« no previous file with comments | « views/widget/root_view.h ('k') | views/widget/root_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698