Index: chrome/browser/resources/options/chromeos/display_options.js |
diff --git a/chrome/browser/resources/options/chromeos/display_options.js b/chrome/browser/resources/options/chromeos/display_options.js |
index a6c4ce9333e3202ec5c93523a483787611694af0..0053a39252d7a94b0ca7b13fbbd7a89846ccf511 100644 |
--- a/chrome/browser/resources/options/chromeos/display_options.js |
+++ b/chrome/browser/resources/options/chromeos/display_options.js |
@@ -274,7 +274,8 @@ cr.define('options', function() { |
return true; |
e.preventDefault(); |
Dan Beam
2014/09/12 03:25:19
var target = assertInstanceof(e.target, HTMLElemen
Vitaly Pavlenko
2014/09/12 19:16:22
Done.
|
- return this.startDragging_(e.target, {x: e.pageX, y: e.pageY}); |
+ return this.startDragging_(assertInstanceof(e.target, HTMLElement), |
+ {x: e.pageX, y: e.pageY}); |
}, |
/** |
@@ -292,7 +293,8 @@ cr.define('options', function() { |
e.preventDefault(); |
var touch = e.touches[0]; |
this.lastTouchLocation_ = {x: touch.pageX, y: touch.pageY}; |
Dan Beam
2014/09/12 03:25:19
var target = assertInstanceof(e.target, HTMLElemen
Vitaly Pavlenko
2014/09/12 19:16:22
Done.
|
- return this.startDragging_(e.target, this.lastTouchLocation_); |
+ return this.startDragging_(assertInstanceof(e.target, HTMLElement), |
+ this.lastTouchLocation_); |
}, |
/** |