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..6d53b15a80771a9bb20178c60991b71eff3c22d4 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().alpha() > 0); |
bool shouldClearCanvas = |
paintsBaseBackground && |
(document.settings() && |