Title: [140873] trunk/Source/WebCore
- Revision
- 140873
- Author
- simon.fra...@apple.com
- Date
- 2013-01-25 15:56:07 -0800 (Fri, 25 Jan 2013)
Log Message
When the FrameView has a non-opaque background color, make sure the TileCache tiles are not opaque
https://bugs.webkit.org/show_bug.cgi?id=107989
Reviewed by Dean Jackson.
If a WKView was told to draw a transparent background, make sure that we
set the TileCache tiles to be non-opaque.
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateRootLayerConfiguration):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (140872 => 140873)
--- trunk/Source/WebCore/ChangeLog 2013-01-25 23:44:29 UTC (rev 140872)
+++ trunk/Source/WebCore/ChangeLog 2013-01-25 23:56:07 UTC (rev 140873)
@@ -1,3 +1,16 @@
+2013-01-25 Simon Fraser <simon.fra...@apple.com>
+
+ When the FrameView has a non-opaque background color, make sure the TileCache tiles are not opaque
+ https://bugs.webkit.org/show_bug.cgi?id=107989
+
+ Reviewed by Dean Jackson.
+
+ If a WKView was told to draw a transparent background, make sure that we
+ set the TileCache tiles to be non-opaque.
+
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::updateRootLayerConfiguration):
+
2013-01-25 Alexandre Elias <ael...@chromium.org>
Call FrameView::contentsResized() when setting fixed layout size
Modified: trunk/Source/WebCore/rendering/RenderLayerBacking.cpp (140872 => 140873)
--- trunk/Source/WebCore/rendering/RenderLayerBacking.cpp 2013-01-25 23:44:29 UTC (rev 140872)
+++ trunk/Source/WebCore/rendering/RenderLayerBacking.cpp 2013-01-25 23:56:07 UTC (rev 140873)
@@ -1324,8 +1324,10 @@
if (!viewIsTransparent) {
backgroundColor = frameView->documentBackgroundColor();
- if (!backgroundColor.isValid() || backgroundColor.hasAlpha())
+ if (!backgroundColor.isValid())
backgroundColor = Color::white;
+
+ viewIsTransparent = backgroundColor.hasAlpha();
}
if (m_backgroundLayerPaintsFixedRootBackground && m_backgroundLayer) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes