Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
index 7b7996ca542c27b32613429569ccd690bd5d2d9f..576c2d11e9c79c4fcc1724acc62eaec69ef3c5fe 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -2011,7 +2011,7 @@ void LayoutObject::styleWillChange(StyleDifference diff, const ComputedStyle& ne |
// we need to dirty our stacking context's z-order list. |
bool visibilityChanged = m_style->visibility() != newStyle.visibility() |
|| m_style->zIndex() != newStyle.zIndex() |
- || m_style->hasAutoZIndex() != newStyle.hasAutoZIndex(); |
+ || m_style->isStackingContext() != newStyle.isStackingContext(); |
if (visibilityChanged) { |
document().setAnnotatedRegionsDirty(true); |
if (AXObjectCache* cache = document().existingAXObjectCache()) |