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

Unified Diff: third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js

Issue 2562453003: [DevTools] Remove Common.Event.target field. (Closed)
Patch Set: works Created 4 years 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/devtools/front_end/bindings/CompilerScriptMapping.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js b/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js
index c1aeb93b1ccd2bdd5a70efe8755b194a5b088de2..b17e718a219eceb2c7c43b23bec64858f74a9d97 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js
@@ -183,7 +183,7 @@ Bindings.CompilerScriptMapping = class {
* @param {!Common.Event} event
*/
_sourceMapURLAdded(event) {
- var script = /** @type {!SDK.Script} */ (event.target);
+ var script = /** @type {!SDK.Script} */ (event.data);
if (!script.sourceMapURL)
return;
this._processScript(script);

Powered by Google App Engine
This is Rietveld 408576698