| Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| index d21deb7083ce948b52ed4c1c716110006c4f8910..71b2267f4b1850510eb9f14beb973b698d951d5e 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| @@ -151,7 +151,7 @@ void LayoutBoxModelObject::styleWillChange(StyleDifference diff, const ComputedS
|
| if (hasLayer()
|
| && enclosingLayer()->stackingNode()
|
| && enclosingLayer()->stackingNode()->isStackingContext()
|
| - && newStyle.hasAutoZIndex()) {
|
| + && !newStyle.isStackingContext()) {
|
| // The following disablers are valid because we need to invalidate based on the current
|
| // status.
|
| DisableCompositingQueryAsserts compositingDisabler;
|
|
|