Index: ash/shell/window_type_launcher.cc |
diff --git a/ash/shell/window_type_launcher.cc b/ash/shell/window_type_launcher.cc |
index 3cefa2c86e8b0ba476afff151b6ec024e355d397..42f5db12c1e2c7c5eb3921139626a9fa2ed1109b 100644 |
--- a/ash/shell/window_type_launcher.cc |
+++ b/ash/shell/window_type_launcher.cc |
@@ -58,7 +58,7 @@ class ModalWindow : public views::WidgetDelegateView, |
// Overridden from views::View: |
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { |
- canvas->FillRect(color_, GetLocalBounds()); |
+ canvas->FillRect(GetLocalBounds(), color_); |
} |
virtual gfx::Size GetPreferredSize() OVERRIDE { |
return gfx::Size(200, 200); |
@@ -130,7 +130,7 @@ class NonModalTransient : public views::WidgetDelegateView { |
// Overridden from views::View: |
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { |
- canvas->FillRect(color_, GetLocalBounds()); |
+ canvas->FillRect(GetLocalBounds(), color_); |
} |
virtual gfx::Size GetPreferredSize() OVERRIDE { |
return gfx::Size(250, 250); |
@@ -222,7 +222,7 @@ WindowTypeLauncher::~WindowTypeLauncher() { |
} |
void WindowTypeLauncher::OnPaint(gfx::Canvas* canvas) { |
- canvas->FillRect(SK_ColorWHITE, GetLocalBounds()); |
+ canvas->FillRect(GetLocalBounds(), SK_ColorWHITE); |
} |
void WindowTypeLauncher::Layout() { |