| 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 2d84a78271e8b9de11572cd9ed4cde9610c5e0f5..6990b629e47553579d5f5e82b2da74f8f1c81b96 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(), creationContext, 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);
|
|
|