summaryrefslogtreecommitdiffstats
path: root/chrome/views/tabbed_pane.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/tabbed_pane.cc')
-rw-r--r--chrome/views/tabbed_pane.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/views/tabbed_pane.cc b/chrome/views/tabbed_pane.cc
index 421edc3..473f1db 100644
--- a/chrome/views/tabbed_pane.cc
+++ b/chrome/views/tabbed_pane.cc
@@ -39,7 +39,7 @@ class TabBackground : public Background {
virtual void Paint(ChromeCanvas* canvas, View* view) const {
HDC dc = canvas->beginPlatformPaint();
- RECT r = {0, 0, view->GetWidth(), view->GetHeight()};
+ RECT r = {0, 0, view->width(), view->height()};
gfx::NativeTheme::instance()->PaintTabPanelBackground(dc, &r);
canvas->endPlatformPaint();
}
@@ -158,7 +158,7 @@ HWND TabbedPane::CreateNativeControl(HWND parent_container) {
WC_TABCONTROL,
L"",
WS_CHILD | WS_CLIPSIBLINGS | WS_VISIBLE,
- 0, 0, GetWidth(), GetHeight(),
+ 0, 0, width(), height(),
parent_container, NULL, NULL, NULL);
HFONT font = ResourceBundle::GetSharedInstance().