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

Unified Diff: sky/engine/bindings/core/v8/CustomElementConstructorBuilder.cpp

Issue 788773006: Remove extension check from CustomElementRegistry. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/bindings/core/v8/CustomElementConstructorBuilder.cpp
diff --git a/sky/engine/bindings/core/v8/CustomElementConstructorBuilder.cpp b/sky/engine/bindings/core/v8/CustomElementConstructorBuilder.cpp
index a5aabc2aa7b1dd068c4df3b165a705abf78c3640..bb001a07d0f996e3c9541bbf01d69b8fa4e64394 100644
--- a/sky/engine/bindings/core/v8/CustomElementConstructorBuilder.cpp
+++ b/sky/engine/bindings/core/v8/CustomElementConstructorBuilder.cpp
@@ -59,11 +59,6 @@ CustomElementConstructorBuilder::CustomElementConstructorBuilder(ScriptState* sc
ASSERT(m_scriptState->context() == m_scriptState->isolate()->GetCurrentContext());
}
-bool CustomElementConstructorBuilder::isFeatureAllowed() const
-{
- return m_scriptState->world().isMainWorld();
-}
-
bool CustomElementConstructorBuilder::validateOptions(const AtomicString& type, QualifiedName& tagName, ExceptionState& exceptionState)
{
ASSERT(m_prototype.IsEmpty());
« no previous file with comments | « sky/engine/bindings/core/v8/CustomElementConstructorBuilder.h ('k') | sky/engine/core/dom/custom/CustomElementException.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698