Index: content/shell/browser/shell_aura.cc |
diff --git a/content/shell/browser/shell_aura.cc b/content/shell/browser/shell_aura.cc |
index 33ee197e78b6e20fbcc8456291085d8ec966c8d8..5f945d4b77e5cd8f4ebaeb79e7f64ad9a563a447 100644 |
--- a/content/shell/browser/shell_aura.cc |
+++ b/content/shell/browser/shell_aura.cc |
@@ -51,9 +51,9 @@ void Shell::PlatformSetContents() { |
CHECK(platform_); |
aura::Window* content = web_contents_->GetNativeView(); |
aura::Window* parent = platform_->host()->window(); |
- if (parent->Contains(content)) |
- return; |
- parent->AddChild(content); |
+ if (!parent->Contains(content)) |
+ parent->AddChild(content); |
+ |
content->Show(); |
} |