Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index 9c745023a8341d069a13aacd951f104faa4e2ffa..bdb9f83799b35ebb9e31f8519a1466cb35af12bf 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1647,8 +1647,9 @@ void WebLocalFrameImpl::createFrameView() |
bool isMainFrame = !parent(); |
IntSize initialSize = (isMainFrame || !frameWidget()) ? webView->mainFrameSize() : (IntSize)frameWidget()->size(); |
+ bool isTransparent = !isMainFrame && parent()->isWebRemoteFrame() ? true : webView->isTransparent(); |
- frame()->createView(initialSize, webView->baseBackgroundColor(), webView->isTransparent()); |
+ frame()->createView(initialSize, webView->baseBackgroundColor(), isTransparent); |
if (webView->shouldAutoResize() && frame()->isLocalRoot()) |
frame()->view()->enableAutoSizeMode(webView->minAutoSize(), webView->maxAutoSize()); |