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 f5ec2568603739e526c7d83230bbf582cc4d9fb3..c2580420c02f4c091e01ae0b105f340926273b41 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -1942,7 +1942,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()) |