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

Unified Diff: Source/core/rendering/CompositedLayerMapping.cpp

Issue 63943006: Re-enable solid background color optimization for composited layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
Index: Source/core/rendering/CompositedLayerMapping.cpp
diff --git a/Source/core/rendering/CompositedLayerMapping.cpp b/Source/core/rendering/CompositedLayerMapping.cpp
index 6375ac2d8c9ddec6d9505e9581f836c1db940b12..52d780d6ceaeaced826fef2ef570aa54c98909dd 100644
--- a/Source/core/rendering/CompositedLayerMapping.cpp
+++ b/Source/core/rendering/CompositedLayerMapping.cpp
@@ -1313,9 +1313,6 @@ void CompositedLayerMapping::updateBackgroundColor(bool isSimpleContainer)
static bool supportsDirectBoxDecorationsComposition(const RenderObject* renderer)
{
- if (!GraphicsLayer::supportsBackgroundColorContent())
- return false;
-
if (renderer->hasClip())
return false;
« LayoutTests/TestExpectations ('K') | « Source/core/platform/graphics/GraphicsLayer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698