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

Unified Diff: Source/core/inspector/InspectorDebuggerAgent.cpp

Issue 1307363006: DevTools: move instrumentation of v8 calls into V8ScriptRunner (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Merged willCall and willEvaluate on V8DebuggerAgent Created 5 years, 4 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: Source/core/inspector/InspectorDebuggerAgent.cpp
diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp
index 5cd3f3a99d8f6f30d615110822d9f62e5602ef13..452011ff27173f191c6fd4cab744707207a45c22 100644
--- a/Source/core/inspector/InspectorDebuggerAgent.cpp
+++ b/Source/core/inspector/InspectorDebuggerAgent.cpp
@@ -283,9 +283,9 @@ void InspectorDebuggerAgent::scriptExecutionBlockedByCSP(const String& directive
m_v8DebuggerAgent->breakProgram(InspectorFrontend::Debugger::Reason::CSPViolation, directive.release());
}
-void InspectorDebuggerAgent::willCallFunction(const DevToolsFunctionInfo& info)
+void InspectorDebuggerAgent::willCallFunction(int scriptId)
{
- m_v8DebuggerAgent->willCallFunction(info.scriptId());
+ m_v8DebuggerAgent->willCallFunction(scriptId);
}
void InspectorDebuggerAgent::didCallFunction()
@@ -293,16 +293,6 @@ void InspectorDebuggerAgent::didCallFunction()
m_v8DebuggerAgent->didCallFunction();
}
-void InspectorDebuggerAgent::willEvaluateScript()
-{
- m_v8DebuggerAgent->willEvaluateScript();
-}
-
-void InspectorDebuggerAgent::didEvaluateScript()
-{
- m_v8DebuggerAgent->didEvaluateScript();
-}
-
// InspectorBaseAgent overrides.
void InspectorDebuggerAgent::init()
{

Powered by Google App Engine
This is Rietveld 408576698