Index: views/controls/native/native_view_host.cc |
diff --git a/views/controls/native/native_view_host.cc b/views/controls/native/native_view_host.cc |
index 728f70c8e0bee763169a20f57b4cb69d551d7693..626b45db1d073291d1af63a933abe9313b028486 100644 |
--- a/views/controls/native/native_view_host.cc |
+++ b/views/controls/native/native_view_host.cc |
@@ -141,7 +141,7 @@ void NativeViewHost::OnPaint(gfx::Canvas* canvas) { |
// It would be nice if this used some approximation of the page's |
// current background color. |
if (native_wrapper_->HasInstalledClip()) |
- canvas->FillRectInt(SK_ColorWHITE, 0, 0, width(), height()); |
+ canvas->FillRect(SK_ColorWHITE, GetLocalBounds()); |
} |
void NativeViewHost::VisibilityChanged(View* starting_from, bool is_visible) { |