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

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

Issue 23799009: Always pass v8::Isolate to v8::Number::New() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/bindings/v8/IDBBindingUtilities.cpp ('k') | Source/bindings/v8/SerializedScriptValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ScriptFunctionCall.cpp
diff --git a/Source/bindings/v8/ScriptFunctionCall.cpp b/Source/bindings/v8/ScriptFunctionCall.cpp
index 718ba7965e1ef0e12857ea382182e1554357fa4e..9bfd27902dd97c7255501c08cb9192aa63aebdc6 100644
--- a/Source/bindings/v8/ScriptFunctionCall.cpp
+++ b/Source/bindings/v8/ScriptFunctionCall.cpp
@@ -74,31 +74,31 @@ void ScriptCallArgumentHandler::appendArgument(const char* argument)
void ScriptCallArgumentHandler::appendArgument(long argument)
{
ScriptScope scope(m_scriptState);
- m_arguments.append(v8::Number::New(argument));
+ m_arguments.append(v8::Number::New(m_scriptState->isolate(), argument));
}
void ScriptCallArgumentHandler::appendArgument(long long argument)
{
ScriptScope scope(m_scriptState);
- m_arguments.append(v8::Number::New(argument));
+ m_arguments.append(v8::Number::New(m_scriptState->isolate(), argument));
}
void ScriptCallArgumentHandler::appendArgument(unsigned int argument)
{
ScriptScope scope(m_scriptState);
- m_arguments.append(v8::Number::New(argument));
+ m_arguments.append(v8::Number::New(m_scriptState->isolate(), argument));
}
void ScriptCallArgumentHandler::appendArgument(unsigned long argument)
{
ScriptScope scope(m_scriptState);
- m_arguments.append(v8::Number::New(argument));
+ m_arguments.append(v8::Number::New(m_scriptState->isolate(), argument));
}
void ScriptCallArgumentHandler::appendArgument(int argument)
{
ScriptScope scope(m_scriptState);
- m_arguments.append(v8::Number::New(argument));
+ m_arguments.append(v8::Number::New(m_scriptState->isolate(), argument));
}
void ScriptCallArgumentHandler::appendArgument(bool argument)
« no previous file with comments | « Source/bindings/v8/IDBBindingUtilities.cpp ('k') | Source/bindings/v8/SerializedScriptValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698