diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 19:33:09 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 19:33:09 +0000 |
commit | 0a1d36b22de76ac7d8e0af2efb222c5ae85d099b (patch) | |
tree | f3c3a1bb493dd98baaec6489dcc3b35eb93694da /chrome/views/custom_frame_window.cc | |
parent | 251b16cffbfca46fd038b13c702d9309d0948eb0 (diff) | |
download | chromium_src-0a1d36b22de76ac7d8e0af2efb222c5ae85d099b.zip chromium_src-0a1d36b22de76ac7d8e0af2efb222c5ae85d099b.tar.gz chromium_src-0a1d36b22de76ac7d8e0af2efb222c5ae85d099b.tar.bz2 |
Convert SchedulePaint and a few other methods to use gfx types.
http://crbug.com/2186
Review URL: http://codereview.chromium.org/7468
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/custom_frame_window.cc')
-rw-r--r-- | chrome/views/custom_frame_window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/custom_frame_window.cc b/chrome/views/custom_frame_window.cc index f45731f..472a9bb 100644 --- a/chrome/views/custom_frame_window.cc +++ b/chrome/views/custom_frame_window.cc @@ -1157,7 +1157,7 @@ void CustomFrameWindow::OnNCPaint(HRGN rgn) { UnionRect(&dirty_region, &tmp, &old_paint_region); } - root_view->SchedulePaint(dirty_region, false); + root_view->SchedulePaint(gfx::Rect(dirty_region), false); // ChromeCanvasPaints destructor does the actual painting. As such, wrap the // following in a block to force paint to occur so that we can release the dc. |