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

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: 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/V8DebuggerAgent.cpp
diff --git a/Source/core/inspector/V8DebuggerAgent.cpp b/Source/core/inspector/V8DebuggerAgent.cpp
index faa9eca3cd75d4d5b02fe758fc154513fb0d0a27..0306846a8ee1a6b70e00ab13faec6335d568e2fa 100644
--- a/Source/core/inspector/V8DebuggerAgent.cpp
+++ b/Source/core/inspector/V8DebuggerAgent.cpp
@@ -1382,17 +1382,6 @@ void V8DebuggerAgent::didCallFunction()
changeJavaScriptRecursionLevel(-1);
}
-void V8DebuggerAgent::willEvaluateScript()
-{
- changeJavaScriptRecursionLevel(+1);
- schedulePauseOnNextStatementIfSteppingInto();
-}
-
-void V8DebuggerAgent::didEvaluateScript()
-{
- changeJavaScriptRecursionLevel(-1);
-}
-
void V8DebuggerAgent::changeJavaScriptRecursionLevel(int step)
{
if (m_javaScriptPauseScheduled && !m_skipAllPauses && !isPaused()) {
« Source/core/inspector/PageDebuggerAgent.cpp ('K') | « Source/core/inspector/V8DebuggerAgent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698