Use less memory when compiling content extensions
[WebKit-https.git] / Source / WebCore / contentextensions / CombinedURLFilters.h
index 52958ce6dbb161c6b6bed4ddc3382def819a4488..983d04b6d14594c711626fbdbb3de173c8a89128 100644 (file)
@@ -45,6 +45,7 @@ public:
     void addPattern(uint64_t patternId, const Vector<Term>& pattern);
 
     Vector<NFA> createNFAs() const;
     void addPattern(uint64_t patternId, const Vector<Term>& pattern);
 
     Vector<NFA> createNFAs() const;
+    void clear();
 
 private:
     std::unique_ptr<PrefixTreeVertex> m_prefixTreeRoot;
 
 private:
     std::unique_ptr<PrefixTreeVertex> m_prefixTreeRoot;