| Index: third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
|
| index c5d64c31eced0d48a56fcbc4d2ec4f7634ec4a7d..1de42b5dbe05252a1a8eacf5bbf03ba6b9cb6ec5 100644
|
| --- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
|
| @@ -136,17 +136,6 @@ void ThreadDebugger::createFunctionProperty(v8::Local<v8::Context> context, v8::
|
| return;
|
| }
|
|
|
| -bool ThreadDebugger::isCommandLineAPIMethod(const String& name)
|
| -{
|
| - DEFINE_STATIC_LOCAL(HashSet<String>, methods, ());
|
| - if (methods.size() == 0) {
|
| - const char* members[] = { "monitorEvents", "unmonitorEvents", "getEventListeners" };
|
| - for (size_t i = 0; i < WTF_ARRAY_LENGTH(members); ++i)
|
| - methods.add(members[i]);
|
| - }
|
| - return methods.find(name) != methods.end() || V8Debugger::isCommandLineAPIMethod(name);
|
| -}
|
| -
|
| void ThreadDebugger::installAdditionalCommandLineAPI(v8::Local<v8::Context> context, v8::Local<v8::Object> object)
|
| {
|
| createFunctionProperty(context, object, "monitorEvents", ThreadDebugger::monitorEventsCallback, "function monitorEvents(object, [types]) { [Command Line API] }");
|
|
|