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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js

Issue 1916023002: [DevTools] Move last inspected objects to V8InspectorSessionImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-part-command-line-api-to-native
Patch Set: Created 4 years, 8 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: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
diff --git a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
index 1eb6125b31f66b5d87a3279e2be0c8e9a77f970b..b6280222c1daf12010610a689c2419e9cfb11214 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
+++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
@@ -640,11 +640,6 @@ InjectedScript.prototype = {
nativeCommandLineAPI[member] = bind(commandLineAPIImpl[member], commandLineAPIImpl);
nativeCommandLineAPI[member].toString = customToStringMethod(member);
}
-
- for (var i = 0; i < 5; ++i) {
- var member = "$" + i;
- nativeCommandLineAPI[member] = bind(commandLineAPIImpl._inspectedObject, commandLineAPIImpl, i);
- }
return nativeCommandLineAPI;
},
@@ -1351,14 +1346,6 @@ CommandLineAPIImpl.prototype = {
},
/**
- * @param {number} num
- */
- _inspectedObject: function(num)
- {
- return InjectedScriptHost.inspectedObject(num);
- },
-
- /**
* @param {!Array.<string>|string=} types
* @return {!Array.<string>}
*/

Powered by Google App Engine
This is Rietveld 408576698