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

Unified Diff: Source/bindings/tests/results/V8TestObject.cpp

Issue 303103002: Remove more ScriptState::current in core/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/v8/ScriptCallStackFactory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/results/V8TestObject.cpp
diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp
index 427a000e4ba10444527c45fd70e15552b5acc7e3..f332001687e4503c7849155a42a5fc7c17955409 100644
--- a/Source/bindings/tests/results/V8TestObject.cpp
+++ b/Source/bindings/tests/results/V8TestObject.cpp
@@ -7635,7 +7635,7 @@ static void callWithScriptStateScriptArgumentsVoidMethodMethod(const v8::Functio
{
TestObject* impl = V8TestObject::toNative(info.Holder());
ScriptState* scriptState = ScriptState::current(info.GetIsolate());
- RefPtr<ScriptArguments> scriptArguments(createScriptArguments(info, 0));
+ RefPtr<ScriptArguments> scriptArguments(createScriptArguments(scriptState, info, 0));
impl->callWithScriptStateScriptArgumentsVoidMethod(scriptState, scriptArguments.release());
}
@@ -7654,14 +7654,14 @@ static void callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMethod
v8::TryCatch block;
if (UNLIKELY(info.Length() <= 0)) {
ScriptState* scriptState = ScriptState::current(info.GetIsolate());
- RefPtr<ScriptArguments> scriptArguments(createScriptArguments(info, 1));
+ RefPtr<ScriptArguments> scriptArguments(createScriptArguments(scriptState, info, 1));
impl->callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg(scriptState, scriptArguments.release());
return;
}
TONATIVE_VOID_INTERNAL(optionalBooleanArg, info[0]->BooleanValue());
}
ScriptState* scriptState = ScriptState::current(info.GetIsolate());
- RefPtr<ScriptArguments> scriptArguments(createScriptArguments(info, 1));
+ RefPtr<ScriptArguments> scriptArguments(createScriptArguments(scriptState, info, 1));
impl->callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg(scriptState, scriptArguments.release(), optionalBooleanArg);
}
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/v8/ScriptCallStackFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698