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

Unified Diff: Source/bindings/v8/CustomElementConstructorBuilder.cpp

Issue 23450039: Pass isolate to ScriptValue constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove useless member Created 7 years, 3 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/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

Powered by Google App Engine
This is Rietveld 408576698