| Index: third_party/WebKit/Source/web/WebDevToolsFrontendImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebDevToolsFrontendImpl.cpp b/third_party/WebKit/Source/web/WebDevToolsFrontendImpl.cpp
|
| index 2c8412793a86636ea2721c9bbd4afe4e1cb14047..d31830935e1e808e0ef0ed9b3fd974a3156055a8 100644
|
| --- a/third_party/WebKit/Source/web/WebDevToolsFrontendImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebDevToolsFrontendImpl.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "web/WebDevToolsFrontendImpl.h"
|
|
|
| #include "bindings/core/v8/ScriptController.h"
|
| +#include "bindings/core/v8/V8Binding.h"
|
| #include "bindings/core/v8/V8DevToolsHost.h"
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/inspector/DevToolsHost.h"
|
| @@ -68,7 +69,7 @@ void WebDevToolsFrontendImpl::didClearWindowObject(WebLocalFrameImpl* frame) {
|
| // Use higher limit for DevTools isolate so that it does not OOM when
|
| // profiling large heaps.
|
| isolate->IncreaseHeapLimitForDebugging();
|
| - ScriptState* scriptState = ScriptState::forMainWorld(m_webFrame->frame());
|
| + ScriptState* scriptState = toScriptStateForMainWorld(m_webFrame->frame());
|
| DCHECK(scriptState);
|
| ScriptState::Scope scope(scriptState);
|
|
|
|
|