[Content Extensions] Remove memory page reporting
[WebKit-https.git] / Source / WebCore / contentextensions / ContentExtension.cpp
index 384ce1a..d4ae510 100644 (file)
@@ -55,14 +55,16 @@ StyleSheetContents* ContentExtension::globalDisplayNoneStyleSheet()
 
     m_parsedGlobalDisplayNoneStyleSheet = true;
 
-    Vector<String> selectors = m_compiledExtension->globalDisplayNoneSelectors(m_pagesUsed);
+    Vector<String> selectors = m_compiledExtension->globalDisplayNoneSelectors();
     if (selectors.isEmpty())
         return nullptr;
 
     StringBuilder css;
     for (auto& selector : selectors) {
         css.append(selector);
+        css.append("{");
         css.append(ContentExtensionsBackend::displayNoneCSSRule());
+        css.append("}");
     }
 
     m_globalDisplayNoneStyleSheet = StyleSheetContents::create();