Index: Source/core/rendering/RenderBox.h |
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h |
index 588e4502e84e88dd2b8dcdfab26c7da13320cc4e..2d17672497ddffcf1ffa384aa1d10206163bf911 100644 |
--- a/Source/core/rendering/RenderBox.h |
+++ b/Source/core/rendering/RenderBox.h |
@@ -71,7 +71,7 @@ public: |
// position:static elements that are not flex-items get their z-index coerced to auto. |
virtual LayerType layerTypeRequired() const OVERRIDE |
{ |
- if (isRoot() || isPositioned() || createsGroup() || hasClipPath() || hasTransform() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns() || !style()->hasAutoZIndex() || style()->hasWillChangeCompositingHint()) |
+ if (isRoot() || isPositioned() || createsGroup() || hasClipPath() || hasTransform() || hasHiddenBackface() || hasReflection() || style()->specifiesColumns() || !style()->hasAutoZIndex() || style()->hasWillChangeCompositingHint() || style()->hasWillChangeCompositingHint()) |
abarth-chromium
2014/03/07 16:04:39
Why do we need this twice? Maybe you meant hasWil
ajuma
2014/03/07 17:03:41
Indeed, thanks for catching that!
|
return NormalLayer; |
if (hasOverflowClip()) |
return OverflowClipLayer; |