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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/TouchModel.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/emulation/TouchModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/TouchModel.js b/third_party/WebKit/Source/devtools/front_end/emulation/TouchModel.js
index 0cd5d3be2023b89d57a413e8f0d5b4c3a7cd8565..0d254dc487dc6bd692d50419e2e170740842bd2d 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/TouchModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/TouchModel.js
@@ -107,7 +107,7 @@ Emulation.MultitargetTouchModel = class {
* @param {!Common.Event} event
*/
_inspectModeToggled(event) {
- var domModel = /** @type {!SDK.DOMModel} */ (event.target);
+ var domModel = /** @type {!SDK.DOMModel} */ (event.data);
this._applyToTarget(domModel.target());
}

Powered by Google App Engine
This is Rietveld 408576698