Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h |
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h |
index b5680fc25396643242adfb74f9ac1ed8cfb741fe..fc8c1953ae17a406f3a48adeaf58229aa452f107 100644 |
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h |
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h |
@@ -31,6 +31,7 @@ |
#include "core/html/canvas/CanvasContextCreationAttributes.h" |
#include "core/html/canvas/CanvasRenderingContext.h" |
#include "core/html/canvas/CanvasRenderingContextFactory.h" |
+#include "core/style/FilterOperations.h" |
#include "core/svg/SVGResourceClient.h" |
#include "modules/ModulesExport.h" |
#include "modules/canvas2d/BaseRenderingContext2D.h" |
@@ -154,7 +155,11 @@ class MODULES_EXPORT CanvasRenderingContext2D final |
String getIdFromControl(const Element*) override; |
// SVGResourceClient implementation |
- void filterNeedsInvalidation() override; |
+ void resourceContentChanged(SVGElementProxy*) override; |
+ void resourceReferenceChanged(SVGElementProxy*) override; |
+ |
+ void updateFilterReferences(const FilterOperations&); |
+ void clearFilterReferences(); |
// BaseRenderingContext2D implementation |
bool originClean() const final; |
@@ -250,6 +255,7 @@ class MODULES_EXPORT CanvasRenderingContext2D final |
Timer<CanvasRenderingContext2D> m_dispatchContextRestoredEventTimer; |
Timer<CanvasRenderingContext2D> m_tryRestoreContextEventTimer; |
+ FilterOperations m_filterOperations; |
HashMap<String, Font> m_fontsResolvedUsingCurrentStyle; |
bool m_pruneLocalFontCacheScheduled; |
ListHashSet<String> m_fontLRUList; |