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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.cpp

Issue 1924713002: [DevTools] Removed InjectedScriptHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-inspect-to-native
Patch Set: Created 4 years, 8 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/platform/v8_inspector/V8InspectorSessionImpl.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.cpp
index c50c0f3723091c671d9b098121d719c9f5d55ae9..7a148a8fd529131a2c558d197efb75754f2136c8 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.cpp
@@ -5,7 +5,6 @@
#include "platform/v8_inspector/V8InspectorSessionImpl.h"
#include "platform/v8_inspector/InjectedScript.h"
-#include "platform/v8_inspector/InjectedScriptHost.h"
#include "platform/v8_inspector/InspectedContext.h"
#include "platform/v8_inspector/RemoteObjectId.h"
#include "platform/v8_inspector/V8DebuggerAgentImpl.h"
@@ -27,7 +26,6 @@ V8InspectorSessionImpl::V8InspectorSessionImpl(V8DebuggerImpl* debugger, int con
: m_contextGroupId(contextGroupId)
, m_debugger(debugger)
, m_client(nullptr)
- , m_injectedScriptHost(InjectedScriptHost::create(debugger))
, m_customObjectFormatterEnabled(false)
, m_instrumentationCounter(0)
, m_runtimeAgent(adoptPtr(new V8RuntimeAgentImpl(this)))
@@ -107,7 +105,7 @@ InjectedScript* V8InspectorSessionImpl::findInjectedScript(ErrorString* errorStr
InspectedContext* context = contexts->get(contextId);
if (!context->getInjectedScript()) {
- context->createInjectedScript(m_injectedScriptHost.get());
+ context->createInjectedScript();
if (!context->getInjectedScript()) {
*errorString = "Cannot access specified execution context";
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698