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

Unified Diff: Source/core/rendering/RenderBox.h

Issue 271753002: Remove compositing trigger for will-change: top (and similar) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove from layerTypeRequired logic Created 6 years, 7 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
Index: Source/core/rendering/RenderBox.h
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h
index 99874ddca0f65f5585c736ac19e3b1fe917c57a7..e9ce3b6c9485149cf660e39b238831dba2e3b3aa 100644
--- a/Source/core/rendering/RenderBox.h
+++ b/Source/core/rendering/RenderBox.h
@@ -72,7 +72,7 @@ public:
// position:static elements that are not flex-items get their z-index coerced to auto.
virtual LayerType layerTypeRequired() const OVERRIDE
{
- if (isPositioned() || createsGroup() || hasClipPath() || hasTransform() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns() || !style()->hasAutoZIndex() || style()->hasWillChangeCompositingHint() || style()->shouldCompositeForCurrentAnimations())
+ if (isPositioned() || createsGroup() || hasClipPath() || hasTransform() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns() || !style()->hasAutoZIndex() || style()->shouldCompositeForCurrentAnimations())
return NormalLayer;
if (hasOverflowClip())
return OverflowClipLayer;

Powered by Google App Engine
This is Rietveld 408576698