| Index: third_party/WebKit/Source/core/paint/ViewPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ViewPainter.cpp b/third_party/WebKit/Source/core/paint/ViewPainter.cpp
|
| index 1b2d2fea3c3b90437f8d95eea680874fb5955f33..15ed8e4b28d974d326fd83d762172cc070832885 100644
|
| --- a/third_party/WebKit/Source/core/paint/ViewPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ViewPainter.cpp
|
| @@ -86,7 +86,8 @@ void ViewPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo) {
|
| const Document& document = m_layoutView.document();
|
| const FrameView& frameView = *m_layoutView.frameView();
|
| bool isMainFrame = document.isInMainFrame();
|
| - bool paintsBaseBackground = isMainFrame && !frameView.isTransparent();
|
| + bool paintsBaseBackground =
|
| + isMainFrame && !frameView.baseBackgroundColor().hasAlpha();
|
| bool shouldClearCanvas =
|
| paintsBaseBackground &&
|
| (document.settings() &&
|
|
|