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

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: Add window.internals.forceCompositingUpdate(document) to webgl test to avoid flaky 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 26cd6245845bf79c8472c813e476db7e7581ebee..39fd7d28ac38f07a53f53dca347911753e07b2d5 100644
--- a/Source/core/rendering/CompositedLayerMapping.cpp
+++ b/Source/core/rendering/CompositedLayerMapping.cpp
@@ -1275,9 +1275,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