Index: ui/views/examples/native_theme_button_example.cc |
diff --git a/ui/views/examples/native_theme_button_example.cc b/ui/views/examples/native_theme_button_example.cc |
index c37fc3ee8b1a409174cf73048631fd4fcede5e77..2e68e0fb6d6f3891edf36e8e2591046a9e6cc4bb 100644 |
--- a/ui/views/examples/native_theme_button_example.cc |
+++ b/ui/views/examples/native_theme_button_example.cc |
@@ -193,7 +193,7 @@ gfx::Size ExampleNativeThemeButton::GetPreferredSize() { |
void ExampleNativeThemeButton::OnPaintBackground(gfx::Canvas* canvas) { |
// Fill the background with a known colour so that we know where the bounds |
// of the View are. |
- canvas->FillRect(SkColorSetRGB(255, 128, 128), GetLocalBounds()); |
+ canvas->FillRect(GetLocalBounds(), SkColorSetRGB(255, 128, 128)); |
CustomButton::OnPaintBackground(canvas); |
} |