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

Unified Diff: Source/web/ContextFeaturesClientImpl.cpp

Issue 310443002: Remove scoped styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix layout test 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/web/ContextFeaturesClientImpl.cpp
diff --git a/Source/web/ContextFeaturesClientImpl.cpp b/Source/web/ContextFeaturesClientImpl.cpp
index 5f4b82b629ca6c435d78864a77c6b6bdbfbb97f0..66488fb0bff47cb7066006b6e792e0a471da3200 100644
--- a/Source/web/ContextFeaturesClientImpl.cpp
+++ b/Source/web/ContextFeaturesClientImpl.cpp
@@ -144,8 +144,6 @@ bool ContextFeaturesClientImpl::askIfIsEnabled(Document* document, ContextFeatur
return defaultValue;
switch (type) {
- case ContextFeatures::StyleScoped:
- return frame->permissionClient()->allowWebComponents(defaultValue);
case ContextFeatures::MutationEvents:
return frame->permissionClient()->allowMutationEvents(defaultValue);
case ContextFeatures::PushState:
« Source/core/html/HTMLStyleElement.h ('K') | « Source/platform/RuntimeEnabledFeatures.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698