| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| index 57126843c894a2eb5f2f3ba1156e3ceeb27f30c8..86bf76ca4f5193c0f0c70668a64071267421892a 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| @@ -57,6 +57,7 @@
|
| #include "core/html/HTMLCollection.h"
|
| #include "core/html/HTMLDocument.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| +#include "core/inspector/MainThreadDebugger.h"
|
| #include "core/loader/FrameLoadRequest.h"
|
| #include "core/loader/FrameLoader.h"
|
| #include "core/loader/FrameLoaderClient.h"
|
| @@ -251,7 +252,7 @@ static bool namedPropertyFromDebuggerScopeExtension(v8::Local<v8::Name> name, co
|
| return false;
|
|
|
| bool isGetter = V8Debugger::isCommandLineAPIGetter(nameString);
|
| - bool isMethod = !isGetter && V8Debugger::isCommandLineAPIMethod(nameString);
|
| + bool isMethod = !isGetter && MainThreadDebugger::isCommandLineAPIMethod(nameString);
|
| if (!isGetter && !isMethod)
|
| return false;
|
|
|
|
|