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

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

Issue 776143003: Remove Isolated Worlds from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | sky/engine/bindings/core/v8/DOMDataStore.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings/core/v8/CustomElementWrapper.cpp
diff --git a/sky/engine/bindings/core/v8/CustomElementWrapper.cpp b/sky/engine/bindings/core/v8/CustomElementWrapper.cpp
index 9e67d361e254f7040672f7278da55943b4756cd9..e7148f4cc736cf5c4be48a4da30c1eb28add2c65 100644
--- a/sky/engine/bindings/core/v8/CustomElementWrapper.cpp
+++ b/sky/engine/bindings/core/v8/CustomElementWrapper.cpp
@@ -68,7 +68,7 @@ v8::Handle<v8::Object> CustomElementWrapper<ElementType, WrapperType>::wrap(Pass
ASSERT(!creationContext.IsEmpty());
v8::Handle<v8::Context> context = creationContext->CreationContext();
- if (!element->isUpgradedCustomElement() || DOMWrapperWorld::world(context).isIsolatedWorld())
+ if (!element->isUpgradedCustomElement())
return createUpgradeCandidateWrapper(element.get(), creationContext, isolate, createSpecificWrapper);
V8PerContextData* perContextData = V8PerContextData::from(context);
« no previous file with comments | « no previous file | sky/engine/bindings/core/v8/DOMDataStore.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698