| Index: tools/dom/templates/html/impl/impl_TouchEvent.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_TouchEvent.darttemplate b/tools/dom/templates/html/impl/impl_TouchEvent.darttemplate
|
| index 7223959f79eacdcf37f0e4760d92cff8fb190de6..26c7939522f00a4779864158dc316522e415ac07 100644
|
| --- a/tools/dom/templates/html/impl/impl_TouchEvent.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_TouchEvent.darttemplate
|
| @@ -31,14 +31,14 @@ $!MEMBERS
|
| static bool get supported {
|
| $if DART2JS
|
| if (JS('bool', '"ontouchstart" in window')) {
|
| - return Event._isTypeSupported('TouchEvent');
|
| + return Device.isEventTypeSupported('TouchEvent');
|
| }
|
| return false;
|
| $else
|
| // Bug #8186 add equivalent 'ontouchstart' check for Dartium.
|
| // Basically, this is a fairly common check and it'd be great if it did not
|
| // throw exceptions.
|
| - return Event._isTypeSupported('TouchEvent');
|
| + return Device.isEventTypeSupported('TouchEvent');
|
| $endif
|
| }
|
| }
|
|
|