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

Unified Diff: Source/bindings/core/v8/DebuggerScript.js

Issue 644403003: DevTools: Fix __commandLineAPI is not defined error and remove the with- hack for eval on call fram… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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/bindings/core/v8/DebuggerScript.js
diff --git a/Source/bindings/core/v8/DebuggerScript.js b/Source/bindings/core/v8/DebuggerScript.js
index 695586874c2434e848972ee71d7c81babf9ba90e..1fc047bea482ae970719ce54387c2168bc725613 100644
--- a/Source/bindings/core/v8/DebuggerScript.js
+++ b/Source/bindings/core/v8/DebuggerScript.js
@@ -445,9 +445,9 @@ DebuggerScript._frameMirrorToJSCallFrame = function(frameMirror, callerFrame, sc
return displayName || func.name() || func.inferredName();
}
- function evaluate(expression)
+ function evaluate(expression, scopeExtension)
{
- return frameMirror.evaluate(expression, false).value();
+ return frameMirror.evaluate(expression, false, scopeExtension).value();
}
function restart()

Powered by Google App Engine
This is Rietveld 408576698