summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_tab_container.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-17 19:33:09 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-17 19:33:09 +0000
commit0a1d36b22de76ac7d8e0af2efb222c5ae85d099b (patch)
treef3c3a1bb493dd98baaec6489dcc3b35eb93694da /chrome/browser/external_tab_container.cc
parent251b16cffbfca46fd038b13c702d9309d0948eb0 (diff)
downloadchromium_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/browser/external_tab_container.cc')
-rw-r--r--chrome/browser/external_tab_container.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc
index 6b7c131..599ce6a 100644
--- a/chrome/browser/external_tab_container.cc
+++ b/chrome/browser/external_tab_container.cc
@@ -253,8 +253,9 @@ HWND ExternalTabContainer::GetHWND() const {
return m_hWnd;
}
-void ExternalTabContainer::PaintNow(const CRect& update_rect) {
- RedrawWindow(update_rect,
+void ExternalTabContainer::PaintNow(const gfx::Rect& update_rect) {
+ RECT native_update_rect = update_rect.ToRECT();
+ RedrawWindow(&native_update_rect,
NULL,
RDW_INVALIDATE | RDW_ALLCHILDREN | RDW_NOERASE);
}