Index: third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp |
index 3b155d37ca2b13c5130c16966fc79a648c7b91ef..945e3f13fe8cb8b860604aa071c3ff0dde69793e 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp |
+++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp |
@@ -342,6 +342,13 @@ void InjectedScript::releaseObject(const String& objectId) |
m_native->unbind(boundId); |
} |
+v8::Local<v8::Value> InjectedScript::commandLineAPI() |
+{ |
+ V8FunctionCall function(m_client, context(), v8Value(), "commandLineAPI"); |
+ bool hadException = false; |
+ return function.call(hadException, false); |
+} |
+ |
PassRefPtr<Array<CallFrame>> InjectedScript::wrapCallFrames(v8::Local<v8::Object> callFrames, int asyncOrdinal) |
{ |
v8::HandleScope handles(m_isolate); |