Index: ui/views/controls/native/native_view_host_gtk.cc |
diff --git a/ui/views/controls/native/native_view_host_gtk.cc b/ui/views/controls/native/native_view_host_gtk.cc |
index b6a50422db31b84bb787e23365a078847fa9231a..baeed237e66558b8bcefb898a0218c78a1fe274e 100644 |
--- a/ui/views/controls/native/native_view_host_gtk.cc |
+++ b/ui/views/controls/native/native_view_host_gtk.cc |
@@ -173,7 +173,7 @@ void NativeViewHostGtk::AddedToWidget() { |
AttachHostWidget(); |
- if (host_->IsVisibleInRootView()) { |
+ if (host_->IsDrawn()) { |
gtk_widget_show(host_->native_view()); |
gtk_widget_show(fixed_); |
} else { |