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

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: Fix build bot 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 536a35118a5c0041305fe0dc71df3395a7ec08f9..684d53ac8e7710d860597f818f92fbe352656773 100644
--- a/Source/core/rendering/CompositedLayerMapping.cpp
+++ b/Source/core/rendering/CompositedLayerMapping.cpp
@@ -1268,9 +1268,6 @@ void CompositedLayerMapping::updateBackgroundColor(bool isSimpleContainer)
static bool supportsDirectBoxDecorationsComposition(const RenderObject* renderer)
{
- if (!GraphicsLayer::supportsBackgroundColorContent())
- return false;
-
if (renderer->hasClip())
return false;

Powered by Google App Engine
This is Rietveld 408576698