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

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

Issue 1307363006: DevTools: move instrumentation of v8 calls into V8ScriptRunner (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed comments 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
« no previous file with comments | « Source/core/inspector/V8DebuggerAgent.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/V8DebuggerAgent.cpp
diff --git a/Source/core/inspector/V8DebuggerAgent.cpp b/Source/core/inspector/V8DebuggerAgent.cpp
index faa9eca3cd75d4d5b02fe758fc154513fb0d0a27..b52e4e1c5abb0a72f097baf186d9089a02837525 100644
--- a/Source/core/inspector/V8DebuggerAgent.cpp
+++ b/Source/core/inspector/V8DebuggerAgent.cpp
@@ -1365,7 +1365,7 @@ void V8DebuggerAgent::removeAsyncCallTrackingListener(AsyncCallTrackingListener*
m_asyncCallTrackingListeners.remove(listener);
}
-void V8DebuggerAgent::willCallFunction(int scriptId)
+void V8DebuggerAgent::willExecuteScript(int scriptId)
{
changeJavaScriptRecursionLevel(+1);
// Fast return.
@@ -1377,18 +1377,7 @@ void V8DebuggerAgent::willCallFunction(int scriptId)
schedulePauseOnNextStatementIfSteppingInto();
}
-void V8DebuggerAgent::didCallFunction()
-{
- changeJavaScriptRecursionLevel(-1);
-}
-
-void V8DebuggerAgent::willEvaluateScript()
-{
- changeJavaScriptRecursionLevel(+1);
- schedulePauseOnNextStatementIfSteppingInto();
-}
-
-void V8DebuggerAgent::didEvaluateScript()
+void V8DebuggerAgent::didExecuteScript()
{
changeJavaScriptRecursionLevel(-1);
}
« no previous file with comments | « Source/core/inspector/V8DebuggerAgent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698