Index: Source/core/layout/LayoutObject.cpp |
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp |
index e96113c8527123bac9e23bd9410e148474f9f1a9..a9182eaebe1912d18bc1ae6777e786e25465af23 100644 |
--- a/Source/core/layout/LayoutObject.cpp |
+++ b/Source/core/layout/LayoutObject.cpp |
@@ -1669,7 +1669,7 @@ StyleDifference LayoutObject::adjustStyleDifference(StyleDifference diff) const |
// The answer to layerTypeRequired() for plugins, iframes, and canvas can change without the actual |
// style changing, since it depends on whether we decide to composite these elements. When the |
// layer status of one of these elements changes, we need to force a layout. |
- if (!diff.needsFullLayout() && style() && isLayoutBoxModelObject()) { |
+ if (!diff.needsFullLayout() && style() && isBoxModelObject()) { |
bool requiresLayer = toLayoutBoxModelObject(this)->layerTypeRequired() != NoDeprecatedPaintLayer; |
if (hasLayer() != requiresLayer) |
diff.setNeedsFullLayout(); |