Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp |
index df982ee3b772a6d2fc8da5b4bab1e45cf1824700..0e0dfadda704722bb7a3aaec900f086e0ed34613 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp |
@@ -2708,14 +2708,7 @@ void PaintLayer::updateOrRemoveFilterEffectBuilder() |
void PaintLayer::filterNeedsPaintInvalidation() |
{ |
- { |
- DeprecatedScheduleStyleRecalcDuringLayout marker(layoutObject()->document().lifecycle()); |
- // It's possible for scheduleSVGFilterLayerUpdateHack to schedule a style recalc, which |
- // is a problem because this function can be called while performing layout. |
- // Presumably this represents an illegal data flow of layout or compositing |
- // information into the style system. |
- toElement(layoutObject()->node())->scheduleSVGFilterLayerUpdateHack(); |
- } |
+ toElement(layoutObject()->node())->scheduleSVGFilterLayerUpdateHack(); |
layoutObject()->setShouldDoFullPaintInvalidation(); |
} |