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

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

Issue 1967933002: [DevTools] Dispatch messages to V8InspectorSession directly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1936593002
Patch Set: rebased Created 4 years, 7 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/V8Console.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp
index d56a637f605ee1e6e2767efd661f16b6b75dff4a..1ed8701510e614f3b44ef01ae197da9fb63bf7bd 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp
@@ -191,8 +191,8 @@ public:
V8ProfilerAgentImpl* profilerAgent()
{
if (V8InspectorSessionImpl* session = currentSession()) {
- if (session && session->profilerAgentImpl()->enabled())
- return session->profilerAgentImpl();
+ if (session && session->profilerAgent()->enabled())
+ return session->profilerAgent();
}
return nullptr;
}
@@ -200,8 +200,8 @@ public:
V8DebuggerAgentImpl* debuggerAgent()
{
if (V8InspectorSessionImpl* session = currentSession()) {
- if (session && session->debuggerAgentImpl()->enabled())
- return session->debuggerAgentImpl();
+ if (session && session->debuggerAgent()->enabled())
+ return session->debuggerAgent();
}
return nullptr;
}
@@ -597,7 +597,7 @@ static void inspectImpl(const v8::FunctionCallbackInfo<v8::Value>& info, bool co
if (copyToClipboard)
hints->setBoolean("copyToClipboard", true);
if (V8InspectorSessionImpl* session = helper.currentSession())
- session->runtimeAgentImpl()->inspect(std::move(wrappedObject), std::move(hints));
+ session->runtimeAgent()->inspect(std::move(wrappedObject), std::move(hints));
}
void V8Console::inspectCallback(const v8::FunctionCallbackInfo<v8::Value>& info)

Powered by Google App Engine
This is Rietveld 408576698