| 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 9c925b2e5566093604c6d68803ce8276a347fc60..723040f0565fb26492d49501874fb7343840297d 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -165,6 +165,7 @@
|
| #include "platform/WebFrameScheduler.h"
|
| #include "platform/clipboard/ClipboardUtilities.h"
|
| #include "platform/fonts/FontCache.h"
|
| +#include "platform/graphics/Color.h"
|
| #include "platform/graphics/GraphicsContext.h"
|
| #include "platform/graphics/GraphicsLayerClient.h"
|
| #include "platform/graphics/paint/ClipRecorder.h"
|
| @@ -1726,12 +1727,11 @@ void WebLocalFrameImpl::createFrameView() {
|
| IntSize initialSize = (isMainFrame || !frameWidget())
|
| ? webView->mainFrameSize()
|
| : (IntSize)frameWidget()->size();
|
| - bool isTransparent = !isMainFrame && parent()->isWebRemoteFrame()
|
| - ? true
|
| - : webView->isTransparent();
|
| + Color baseBackgroundColor = webView->baseBackgroundColor();
|
| + if (!isMainFrame && parent()->isWebRemoteFrame())
|
| + baseBackgroundColor = Color::transparent;
|
|
|
| - frame()->createView(initialSize, webView->baseBackgroundColor(),
|
| - isTransparent);
|
| + frame()->createView(initialSize, webView->baseBackgroundColor());
|
| if (isMainFrame) {
|
| frame()->view()->setInitialViewportSize(
|
| webView->pageScaleConstraintsSet().initialViewportSize());
|
|
|