Chromium Code Reviews| Index: Source/bindings/v8/CustomElementConstructorBuilder.cpp |
| diff --git a/Source/bindings/v8/CustomElementConstructorBuilder.cpp b/Source/bindings/v8/CustomElementConstructorBuilder.cpp |
| index 110f8829dea35d1c13145a232d5781e56700e613..010cf2a1962a3a7cc0792e6d9a70d98df261144a 100644 |
| --- a/Source/bindings/v8/CustomElementConstructorBuilder.cpp |
| +++ b/Source/bindings/v8/CustomElementConstructorBuilder.cpp |
| @@ -232,7 +232,7 @@ bool CustomElementConstructorBuilder::didRegisterDefinition(CustomElementDefinit |
| ScriptValue CustomElementConstructorBuilder::bindingsReturnValue() const |
| { |
| - return ScriptValue(m_constructor); |
| + return ScriptValue(m_constructor, v8::Isolate::GetCurrent()); |
|
haraken
2013/09/16 16:39:53
Can't you use m_context->GetIsolate() ?
do-not-use
2013/09/17 06:52:13
Done.
|
| } |
| bool CustomElementConstructorBuilder::hasValidPrototypeChainFor(WrapperTypeInfo* type) const |