Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h |
index 9ac0a9d12449eff23edb5bbe9a4125a6394eaa1c..2ff5486f3dacc80517fdc4854800340d2b995d57 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h |
@@ -57,6 +57,12 @@ class LayoutSVGBlock : public LayoutBlockFlow { |
PaintLayerType layerTypeRequired() const final { return NoPaintLayer; } |
+ // DisplayItemClient implementation. |
+ bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override { |
+ // The inherited version doesn't check for SVG effects. |
+ return false; |
+ } |
+ |
protected: |
void willBeDestroyed() override; |
@@ -81,11 +87,6 @@ class LayoutSVGBlock : public LayoutBlockFlow { |
const HitTestLocation& locationInContainer, |
const LayoutPoint& accumulatedOffset, |
HitTestAction) override; |
- |
- // The inherited version doesn't check for SVG effects. |
- bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override { |
- return false; |
- } |
}; |
} // namespace blink |