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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FilterEffect.cpp

Issue 1961083006: Don't store an SkPicture in the SourceGraphic FilterEffect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop clearResult call in addAbsolutePaintRect Created 4 years, 7 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/platform/graphics/filters/FilterEffect.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.cpp b/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.cpp
index c47d9d99b41ab90f5cde2de788cc2c782d9d53c0..4cbb72d65edbb79b619a8703b3f0a4017f68ecdc 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FilterEffect.cpp
@@ -109,8 +109,6 @@ void FilterEffect::addAbsolutePaintRect(const FloatRect& paintRect)
if (m_absolutePaintRect.contains(intPaintRect))
return;
intPaintRect.unite(m_absolutePaintRect);
- // Make sure we are not holding on to a smaller rendering.
- clearResult();
m_absolutePaintRect = intPaintRect;
}

Powered by Google App Engine
This is Rietveld 408576698