Index: views/controls/native/native_view_host_aura.cc |
diff --git a/views/controls/native/native_view_host_aura.cc b/views/controls/native/native_view_host_aura.cc |
index af82d3b5d3b018c1452c197e18b904688e1d278b..2f214232204ce96198dbf35dd9d6b816a0751bec 100644 |
--- a/views/controls/native/native_view_host_aura.cc |
+++ b/views/controls/native/native_view_host_aura.cc |
@@ -26,7 +26,6 @@ void NativeViewHostAura::NativeViewAttached() { |
if (host_->native_view()->parent()) |
host_->native_view()->parent()->RemoveChild(host_->native_view()); |
host_->GetWidget()->GetNativeView()->AddChild(host_->native_view()); |
- host_->native_view()->Show(); |
host_->Layout(); |
} |
@@ -69,6 +68,7 @@ void NativeViewHostAura::UninstallClip() { |
void NativeViewHostAura::ShowWidget(int x, int y, int w, int h) { |
// TODO: need to support fast resize. |
host_->native_view()->SetBounds(gfx::Rect(x, y, w, h)); |
+ host_->native_view()->Show(); |
} |
void NativeViewHostAura::HideWidget() { |