| Index: tools/dom/templates/html/impl/impl_Geolocation.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Geolocation.darttemplate b/tools/dom/templates/html/impl/impl_Geolocation.darttemplate
|
| index 11e52b7af31d079eeb3c565dd8186a60d8cfbdc3..19447c27f7a833eece15178adbd5dbb54a6dcd99 100644
|
| --- a/tools/dom/templates/html/impl/impl_Geolocation.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Geolocation.darttemplate
|
| @@ -55,7 +55,7 @@ $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| var controller;
|
| controller = new StreamController<Geoposition>(
|
| onSubscriptionStateChange: () {
|
| - if (controller.hasSubscribers) {
|
| + if (controller.hasListener) {
|
| assert(watchId == null);
|
| watchId = $dom_watchPosition(
|
| (position) {
|
|
|