summaryrefslogtreecommitdiffstats
path: root/content/browser
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser')
-rw-r--r--content/browser/web_contents/web_contents_view_aura.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
index 811570c..421e563 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -213,7 +213,9 @@ void WebContentsViewAura::CreateView(const gfx::Size& initial_size) {
window_->SetType(aura::client::WINDOW_TYPE_CONTROL);
window_->SetTransparent(false);
window_->Init(ui::LAYER_NOT_DRAWN);
+#if defined(USE_ASH)
window_->SetParent(NULL);
+#endif
window_->layer()->SetMasksToBounds(true);
window_->SetName("WebContentsViewAura");
}