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

Unified Diff: Source/WebCore/platform/graphics/chromium/GraphicsLayerChromium.cpp

Issue 13430007: Merge 147178 "[Chromium] Don't create SolidColorLayer for full t..." (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1453/
Patch Set: Created 7 years, 9 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 | « no previous file | Source/WebKit/chromium/tests/GraphicsLayerChromiumTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/chromium/GraphicsLayerChromium.cpp
===================================================================
--- Source/WebCore/platform/graphics/chromium/GraphicsLayerChromium.cpp (revision 147437)
+++ Source/WebCore/platform/graphics/chromium/GraphicsLayerChromium.cpp (working copy)
@@ -524,7 +524,7 @@
m_contentsSolidColor = color;
- if (color.isValid()) {
+ if (color.isValid() && color.alpha()) {
if (!m_contentsSolidColorLayer) {
m_contentsSolidColorLayer = adoptPtr(Platform::current()->compositorSupport()->createSolidColorLayer());
registerContentsLayer(m_contentsSolidColorLayer->layer());
« no previous file with comments | « no previous file | Source/WebKit/chromium/tests/GraphicsLayerChromiumTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698