Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Unified Diff: Source/core/dom/ContextFeatures.cpp

Issue 310443002: Remove scoped styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove HasScopedHTMLStyleChildFlag from Node. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/ContextFeatures.cpp
diff --git a/Source/core/dom/ContextFeatures.cpp b/Source/core/dom/ContextFeatures.cpp
index d8bb0393998df7659cb50e345db470333ed338c2..13bab24cd1914f38a7cb956dc746869a390eae6a 100644
--- a/Source/core/dom/ContextFeatures.cpp
+++ b/Source/core/dom/ContextFeatures.cpp
@@ -60,13 +60,6 @@ bool ContextFeatures::dialogElementEnabled(Document* document)
return document->contextFeatures().isEnabled(document, DialogElement, RuntimeEnabledFeatures::dialogElementEnabled());
}
-bool ContextFeatures::styleScopedEnabled(Document* document)
-{
- if (!document)
- return RuntimeEnabledFeatures::styleScopedEnabled();
- return document->contextFeatures().isEnabled(document, StyleScoped, RuntimeEnabledFeatures::styleScopedEnabled());
-}
-
bool ContextFeatures::pagePopupEnabled(Document* document)
{
if (!document)

Powered by Google App Engine
This is Rietveld 408576698