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

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

Issue 1888813003: [DevTools] Move InjectedScript.lastResult to native (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 88b82108f2d2c65e9f760baa3eca96ea232b8056..3673b57bbdabec1e0d932aed839e62ad907dfd11 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
+++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
@@ -419,19 +419,6 @@ InjectedScript.prototype = {
return "{\"injectedScriptId\":" + injectedScriptId + ",\"id\":" + id + "}";
},
- clearLastEvaluationResult: function()
- {
- delete this._lastResult;
- },
-
- /**
- * @param {*} result
- */
- setLastEvaluationResult: function(result)
- {
- this._lastResult = result;
- },
-
/**
* @param {!Object} object
* @param {string} objectGroupName
@@ -1185,9 +1172,6 @@ function CommandLineAPI(commandLineAPIImpl)
var member = "$" + i;
this[member] = bind(commandLineAPIImpl._inspectedObject, commandLineAPIImpl, i);
}
-
- this.$_ = injectedScript._lastResult;
-
this.__proto__ = null;
}
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698