Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/style/FilterOperations.cpp

Issue 2482353002: Revert of Tracking filter mutation via SVGElementProxy (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/style/FilterOperations.cpp
diff --git a/third_party/WebKit/Source/core/style/FilterOperations.cpp b/third_party/WebKit/Source/core/style/FilterOperations.cpp
index 06d944ce4532a426d7e96301dcc1aafda8cbf40b..66e8fea6edfe19ebd91710a0cd93fadc7ca7dccb 100644
--- a/third_party/WebKit/Source/core/style/FilterOperations.cpp
+++ b/third_party/WebKit/Source/core/style/FilterOperations.cpp
@@ -25,6 +25,9 @@
#include "core/style/FilterOperations.h"
+#include "platform/LengthFunctions.h"
+#include "platform/geometry/IntSize.h"
+#include "platform/graphics/filters/FEGaussianBlur.h"
#include <numeric>
namespace blink {
@@ -105,18 +108,4 @@
return false;
}
-void FilterOperations::addClient(SVGResourceClient* client) const {
- for (FilterOperation* operation : m_operations) {
- if (operation->type() == FilterOperation::REFERENCE)
- toReferenceFilterOperation(*operation).addClient(client);
- }
-}
-
-void FilterOperations::removeClient(SVGResourceClient* client) const {
- for (FilterOperation* operation : m_operations) {
- if (operation->type() == FilterOperation::REFERENCE)
- toReferenceFilterOperation(*operation).removeClient(client);
- }
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/style/FilterOperations.h ('k') | third_party/WebKit/Source/core/svg/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine