| Index: views/widget/root_view_win.cc
|
| ===================================================================
|
| --- views/widget/root_view_win.cc (revision 75035)
|
| +++ views/widget/root_view_win.cc (working copy)
|
| @@ -20,8 +20,8 @@
|
| if (!original_dirty_region.IsEmpty()) {
|
| // Invoke InvalidateRect so that the dirty region of the window includes the
|
| // region we need to paint. If we didn't do this and the region didn't
|
| - // include the dirty region, ProcessPaint would incorrectly mark everything
|
| - // as clean. This can happen if a WM_PAINT is generated by the system before
|
| + // include the dirty region, Paint() would incorrectly mark everything as
|
| + // clean. This can happen if a WM_PAINT is generated by the system before
|
| // the InvokeLater schedule by RootView is processed.
|
| RECT win_version = original_dirty_region.ToRECT();
|
| InvalidateRect(hwnd, &win_version, FALSE);
|
| @@ -31,7 +31,7 @@
|
| if (!canvas->IsValid()) {
|
| SchedulePaintInRect(canvas->GetInvalidRect(), false);
|
| if (NeedsPainting(false))
|
| - ProcessPaint(canvas->AsCanvas());
|
| + Paint(canvas->AsCanvas());
|
| }
|
| }
|
|
|
|
|