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

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

Issue 1046553002: [bindings] Cleanup ScriptFunctionCall for unused methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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/core/v8/ScriptFunctionCall.cpp
diff --git a/Source/bindings/core/v8/ScriptFunctionCall.cpp b/Source/bindings/core/v8/ScriptFunctionCall.cpp
index d4ee0f7fbbf6bba38867ae7d0c22b4ebf1e9c0a7..9736fdec47afe84a62a3e4b51647e66618775d5e 100644
--- a/Source/bindings/core/v8/ScriptFunctionCall.cpp
+++ b/Source/bindings/core/v8/ScriptFunctionCall.cpp
@@ -58,41 +58,6 @@ void ScriptCallArgumentHandler::appendArgument(const String& argument)
m_arguments.append(ScriptValue(m_scriptState.get(), v8String(isolate, argument)));
}
-void ScriptCallArgumentHandler::appendArgument(const char* argument)
-{
- v8::Isolate* isolate = m_scriptState->isolate();
- ScriptState::Scope scope(m_scriptState.get());
- m_arguments.append(ScriptValue(m_scriptState.get(), v8String(isolate, argument)));
-}
-
-void ScriptCallArgumentHandler::appendArgument(long argument)
-{
- v8::Isolate* isolate = m_scriptState->isolate();
- ScriptState::Scope scope(m_scriptState.get());
- m_arguments.append(ScriptValue(m_scriptState.get(), v8::Number::New(isolate, argument)));
-}
-
-void ScriptCallArgumentHandler::appendArgument(long long argument)
-{
- v8::Isolate* isolate = m_scriptState->isolate();
- ScriptState::Scope scope(m_scriptState.get());
- m_arguments.append(ScriptValue(m_scriptState.get(), v8::Number::New(isolate, argument)));
-}
-
-void ScriptCallArgumentHandler::appendArgument(unsigned argument)
-{
- v8::Isolate* isolate = m_scriptState->isolate();
- ScriptState::Scope scope(m_scriptState.get());
- m_arguments.append(ScriptValue(m_scriptState.get(), v8::Number::New(isolate, argument)));
-}
-
-void ScriptCallArgumentHandler::appendArgument(unsigned long argument)
-{
- v8::Isolate* isolate = m_scriptState->isolate();
- ScriptState::Scope scope(m_scriptState.get());
- m_arguments.append(ScriptValue(m_scriptState.get(), v8::Number::New(isolate, argument)));
-}
-
void ScriptCallArgumentHandler::appendArgument(int argument)
{
v8::Isolate* isolate = m_scriptState->isolate();
« Source/bindings/core/v8/ScriptFunctionCall.h ('K') | « Source/bindings/core/v8/ScriptFunctionCall.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698