Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.h

Issue 2211283003: Revert of Replace LayoutObject::skipInvalidationWhenLaidOutChildren() with painted... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 542087ebd76d1a83c9e434fba7234680a2455330..629f7b4f2196f39291af351a22658e2785bb50db 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.h
@@ -40,12 +40,10 @@
bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGHiddenContainer || LayoutSVGContainer::isOfType(type); }
private:
- // LayoutSVGHiddenContainer paints nothing.
- void paint(const PaintInfo&, const LayoutPoint&) const final { }
- bool paintedOutputOfObjectHasNoEffect() const final { return true; }
+ void paint(const PaintInfo&, const LayoutPoint&) const final;
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;
};

Powered by Google App Engine
This is Rietveld 408576698