[Content Extensions] Remove memory page reporting
[WebKit-https.git] / Source / WebCore / contentextensions / ContentExtension.cpp
index 7c3b966..d4ae510 100644 (file)
@@ -27,8 +27,8 @@
 #include "ContentExtension.h"
 
 #include "CompiledContentExtension.h"
+#include "ContentExtensionsBackend.h"
 #include "StyleSheetContents.h"
-#include "UserContentController.h"
 #include <wtf/text/StringBuilder.h>
 
 #if ENABLE(CONTENT_EXTENSIONS)
@@ -62,7 +62,9 @@ StyleSheetContents* ContentExtension::globalDisplayNoneStyleSheet()
     StringBuilder css;
     for (auto& selector : selectors) {
         css.append(selector);
-        css.append(UserContentController::displayNoneCSSRule());
+        css.append("{");
+        css.append(ContentExtensionsBackend::displayNoneCSSRule());
+        css.append("}");
     }
 
     m_globalDisplayNoneStyleSheet = StyleSheetContents::create();