Index: ui/views/controls/native/native_view_host_aura.cc |
diff --git a/ui/views/controls/native/native_view_host_aura.cc b/ui/views/controls/native/native_view_host_aura.cc |
index 24fa29c98710b53a57eed723008b8bd3e4f8e0d9..c27dfb423fc97a92f41a014e15294af68be868dd 100644 |
--- a/ui/views/controls/native/native_view_host_aura.cc |
+++ b/ui/views/controls/native/native_view_host_aura.cc |
@@ -45,7 +45,7 @@ void NativeViewHostAura::AddedToWidget() { |
aura::Window* widget_window = host_->GetWidget()->GetNativeView(); |
if (host_->native_view()->parent() != widget_window) |
widget_window->AddChild(host_->native_view()); |
- if (host_->IsVisibleInRootView()) |
+ if (host_->IsDrawn()) |
host_->native_view()->Show(); |
else |
host_->native_view()->Hide(); |