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

Unified Diff: third_party/WebKit/Source/devtools/front_end/persistence/DefaultMapping.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/persistence/DefaultMapping.js
diff --git a/third_party/WebKit/Source/devtools/front_end/persistence/DefaultMapping.js b/third_party/WebKit/Source/devtools/front_end/persistence/DefaultMapping.js
index 13106fb2a60d4731e37fa5fdfd0cb38ac08b1488..249ba4cace188ff77f06201298d84428a497c516 100644
--- a/third_party/WebKit/Source/devtools/front_end/persistence/DefaultMapping.js
+++ b/third_party/WebKit/Source/devtools/front_end/persistence/DefaultMapping.js
@@ -127,7 +127,7 @@ Persistence.DefaultMapping = class {
* @param {!Common.Event} event
*/
_onFileSystemUISourceCodeRenamed(event) {
- var uiSourceCode = /** @type {!Workspace.UISourceCode} */ (event.target);
+ var uiSourceCode = /** @type {!Workspace.UISourceCode} */ (event.data);
var binding = uiSourceCode[Persistence.DefaultMapping._binding];
this._unbind(binding.network);
this._bind(binding.network);

Powered by Google App Engine
This is Rietveld 408576698