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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp

Issue 2423513002: Simplify incremental paint invalidation (Closed)
Patch Set: Update test and rebaseline layout tests Created 4 years, 2 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/LayoutSVGModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
index dd9718f56c341bcf7a93081e0ac3a5b3ff68653a..2b610f00cf73fb1866b47e76638fbed6665e06d2 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
@@ -36,7 +36,6 @@
#include "core/layout/svg/SVGLayoutSupport.h"
#include "core/layout/svg/SVGResourcesCache.h"
#include "core/paint/PaintLayer.h"
-#include "core/paint/SVGModelObjectPaintInvalidator.h"
#include "core/svg/SVGGraphicsElement.h"
namespace blink {
@@ -98,12 +97,6 @@ void LayoutSVGModelObject::willBeDestroyed() {
LayoutObject::willBeDestroyed();
}
-PaintInvalidationReason LayoutSVGModelObject::invalidatePaintIfNeeded(
- const PaintInvalidatorContext& context) const {
- return SVGModelObjectPaintInvalidator(*this, context)
- .invalidatePaintIfNeeded();
-}
-
void LayoutSVGModelObject::computeLayerHitTestRects(
LayerHitTestRects& rects) const {
// Using just the rect for the SVGRoot is good enough for now.
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.h ('k') | third_party/WebKit/Source/core/paint/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698