| 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);
|
|
|