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 cfc5c091dfdf82ac65789dfb72ad3500084ea6ea..56077911c32eb11a9541fa67692d6225dceb0477 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h |
@@ -80,6 +80,11 @@ 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 |