| Index: third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| index 763f4fa9588f72f869aaad9db6bd28744b79e25c..dcd4d44cb4340132e659c97d689bbbb5d0f8cedd 100644
|
| --- a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| @@ -237,17 +237,6 @@ v8::MaybeLocal<v8::Value> MainThreadDebugger::memoryInfo(v8::Isolate* isolate, v
|
| return toV8(MemoryInfo::create(), context->Global(), isolate);
|
| }
|
|
|
| -bool MainThreadDebugger::isCommandLineAPIMethod(const String& name)
|
| -{
|
| - DEFINE_STATIC_LOCAL(HashSet<String>, methods, ());
|
| - if (methods.size() == 0) {
|
| - const char* members[] = { "$", "$$", "$x" };
|
| - for (size_t i = 0; i < WTF_ARRAY_LENGTH(members); ++i)
|
| - methods.add(members[i]);
|
| - }
|
| - return methods.find(name) != methods.end() || ThreadDebugger::isCommandLineAPIMethod(name);
|
| -}
|
| -
|
| void MainThreadDebugger::installAdditionalCommandLineAPI(v8::Local<v8::Context> context, v8::Local<v8::Object> object)
|
| {
|
| ThreadDebugger::installAdditionalCommandLineAPI(context, object);
|
|
|