Index: ui/aura_shell/examples/window_type_launcher.cc |
diff --git a/ui/aura_shell/examples/window_type_launcher.cc b/ui/aura_shell/examples/window_type_launcher.cc |
index a58d975c3a99354928d86553d8de42fa81c239ab..2b9312a79838ffe4fc1c53bb1e379e0119adc695 100644 |
--- a/ui/aura_shell/examples/window_type_launcher.cc |
+++ b/ui/aura_shell/examples/window_type_launcher.cc |
@@ -58,7 +58,7 @@ WindowTypeLauncher::~WindowTypeLauncher() { |
} |
void WindowTypeLauncher::OnPaint(gfx::Canvas* canvas) { |
- canvas->FillRectInt(SK_ColorWHITE, 0, 0, width(), height()); |
+ canvas->FillRect(SK_ColorWHITE, GetLocalBounds()); |
} |
void WindowTypeLauncher::Layout() { |