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

Unified Diff: views/widget/widget_win.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_win.cc ('k') | views/window/window_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/widget_win.cc
===================================================================
--- views/widget/widget_win.cc (revision 75035)
+++ views/widget/widget_win.cc (working copy)
@@ -383,8 +383,8 @@
// As we were created with a style of WS_CLIPCHILDREN redraw requests may
// result in an empty paint rect in WM_PAINT (this'll happen if a
// child HWND completely contains the update _rect). In such a scenario
- // RootView would never get a ProcessPaint and always think it needs to
- // be painted (leading to a steady stream of RedrawWindow requests on every
+ // RootView would never get a Paint() and always think it needs to be
+ // painted (leading to a steady stream of RedrawWindow requests on every
// event). For this reason we tell RootView it doesn't need to paint
// here.
root_view_->ClearPaintRect();
@@ -1158,7 +1158,7 @@
gfx::Rect dirty_rect = root_view_->GetScheduledPaintRect();
contents_->ClipRectInt(dirty_rect.x(), dirty_rect.y(), dirty_rect.width(),
dirty_rect.height());
- root_view_->ProcessPaint(contents_.get());
+ root_view_->Paint(contents_.get());
contents_->restore();
UpdateWindowFromContents(contents_->getTopPlatformDevice().getBitmapDC());
« no previous file with comments | « views/widget/root_view_win.cc ('k') | views/window/window_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698