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

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

Issue 2247543003: Tweak priorities of paint invalidation reasons (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..26a4817f07ea374e0c86b7c0e45dfde84c3b1d61 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.h
@@ -42,7 +42,7 @@ protected:
private:
// LayoutSVGHiddenContainer paints nothing.
void paint(const PaintInfo&, const LayoutPoint&) const final { }
- bool paintedOutputOfObjectHasNoEffect() const final { return true; }
+ bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const final { return true; }
LayoutRect absoluteClippedOverflowRect() const final { return LayoutRect(); }
FloatRect paintInvalidationRectInLocalSVGCoordinates() const final { return FloatRect(); }
void absoluteQuads(Vector<FloatQuad>&) const final { }
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutReplaced.h ('k') | third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698