Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1052)

Unified Diff: Source/core/page/FrameView.cpp

Issue 15973002: Remove NonCompositedContentHost -- Take 2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: adding back annotation. final rebase. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit/chromium/src/WebViewImpl.cpp ('k') | Source/core/rendering/RenderBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/FrameView.cpp
diff --git a/Source/core/page/FrameView.cpp b/Source/core/page/FrameView.cpp
index ba2e4e7c21899666a3bf348d98f73748a536113e..093c38c9ace86befa49c6c66e48fd9a6aaab701f 100644
--- a/Source/core/page/FrameView.cpp
+++ b/Source/core/page/FrameView.cpp
@@ -2043,6 +2043,8 @@ bool FrameView::isTransparent() const
void FrameView::setTransparent(bool isTransparent)
{
m_isTransparent = isTransparent;
+ if (renderView() && renderView()->layer()->backing())
+ renderView()->layer()->backing()->updateContentsOpaque();
}
bool FrameView::hasOpaqueBackground() const
@@ -2062,6 +2064,8 @@ void FrameView::setBaseBackgroundColor(const Color& backgroundColor)
else
m_baseBackgroundColor = backgroundColor;
+ if (renderView() && renderView()->layer()->backing())
+ renderView()->layer()->backing()->updateContentsOpaque();
recalculateScrollbarOverlayStyle();
}
« no previous file with comments | « Source/WebKit/chromium/src/WebViewImpl.cpp ('k') | Source/core/rendering/RenderBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698