Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp

Issue 2035653006: [DevTools] Move Console to v8 inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improved api a bit Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
index c59ef520505c894bb4fef213f5aca4448df35ee2..86f55cf43657623b7738f4277e8607888ead28f5 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
@@ -8,7 +8,6 @@
#include "core/dom/ExecutionContext.h"
#include "core/frame/LocalDOMWindow.h"
#include "core/frame/LocalFrame.h"
-#include "platform/v8_inspector/public/V8Debugger.h"
namespace blink {
@@ -92,12 +91,6 @@ LocalDOMWindow* ScriptState::domWindow() const
return toLocalDOMWindow(toDOMWindow(context()));
}
-int ScriptState::contextIdInDebugger()
-{
- v8::HandleScope scope(m_isolate);
- return V8Debugger::contextId(m_context.newLocal(m_isolate));
-}
-
ScriptState* ScriptState::forMainWorld(LocalFrame* frame)
{
return ScriptState::forWorld(frame, DOMWrapperWorld::mainWorld());
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ScriptState.h ('k') | third_party/WebKit/Source/bindings/core/v8/SourceLocation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698