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

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

Issue 19064004: Support re-reading scope variables in protocol and on backed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: clean Created 7 years, 5 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/JavaScriptCallFrame.cpp
diff --git a/Source/core/inspector/JavaScriptCallFrame.cpp b/Source/core/inspector/JavaScriptCallFrame.cpp
index 7abf05913188a307305b98042259d474fdf2597f..43559c9868ccb66a111d7db7f58cf7fad7350e44 100644
--- a/Source/core/inspector/JavaScriptCallFrame.cpp
+++ b/Source/core/inspector/JavaScriptCallFrame.cpp
@@ -149,4 +149,11 @@ v8::Handle<v8::Value> JavaScriptCallFrame::setVariableValue(int scopeNumber, con
return setVariableValueFunction->Call(callFrame, 3, argv);
}
+void JavaScriptCallFrame::rereadScopes()
+{
+ v8::Handle<v8::Object> callFrame = m_callFrame.newLocal(m_isolate);
+ v8::Handle<v8::Function> rereadScopesFunction = v8::Handle<v8::Function>::Cast(callFrame->Get(v8::String::NewSymbol("rereadScopes")));
+ rereadScopesFunction->Call(callFrame, 0, 0);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698