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

Unified Diff: views/widget/root_view_gtk.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.cc ('k') | views/widget/root_view_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/root_view_gtk.cc
===================================================================
--- views/widget/root_view_gtk.cc (revision 75035)
+++ views/widget/root_view_gtk.cc (working copy)
@@ -42,7 +42,7 @@
canvas.set_composite_alpha(widget->is_transparent());
SchedulePaintInRect(gfx::Rect(canvas.rectangle()), false);
if (NeedsPainting(false)) {
- ProcessPaint(&canvas);
+ Paint(&canvas);
invoked_process_paint = true;
}
}
@@ -53,7 +53,7 @@
// We're painting as the result of Gtk wanting us to paint (not from views)
// and there was a region scheduled by views to be painted that is not
// contained in the region gtk wants us to paint. As a result of the
- // ProcessPaint call above views no longer thinks it needs to be painted.
+ // Paint() call above views no longer thinks it needs to be painted.
// We have to invoke SchedulePaint here to be sure we end up painting the
// region views wants to paint, otherwise we'll drop the views paint region
// on the floor.
« no previous file with comments | « views/widget/root_view.cc ('k') | views/widget/root_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698