| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.h
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.h
|
| index 629f7b4f2196f39291af351a22658e2785bb50db..542087ebd76d1a83c9e434fba7234680a2455330 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.h
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.h
|
| @@ -40,10 +40,12 @@ protected:
|
| bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGHiddenContainer || LayoutSVGContainer::isOfType(type); }
|
|
|
| private:
|
| - void paint(const PaintInfo&, const LayoutPoint&) const final;
|
| + // LayoutSVGHiddenContainer paints nothing.
|
| + void paint(const PaintInfo&, const LayoutPoint&) const final { }
|
| + bool paintedOutputOfObjectHasNoEffect() const final { return true; }
|
| LayoutRect absoluteClippedOverflowRect() const final { return LayoutRect(); }
|
| FloatRect paintInvalidationRectInLocalSVGCoordinates() const final { return FloatRect(); }
|
| - void absoluteQuads(Vector<FloatQuad>&) const final;
|
| + void absoluteQuads(Vector<FloatQuad>&) const final { }
|
|
|
| bool nodeAtFloatPoint(HitTestResult&, const FloatPoint& pointInParent, HitTestAction) final;
|
| };
|
|
|