| 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 d0d011a9600b40b4466f9edc6a286b8aed686b05..e15ffa08a0002e476cd5679e11e4696e769d1810 100644
|
| --- a/tools/dom/templates/html/impl/impl_Geolocation.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Geolocation.darttemplate
|
| @@ -22,7 +22,7 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| }
|
| var completer = new Completer<Geoposition>();
|
| try {
|
| - $dom_getCurrentPosition(
|
| + _getCurrentPosition(
|
| (position) {
|
| completer.complete(_ensurePosition(position));
|
| },
|
| @@ -56,7 +56,7 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| controller = new StreamController<Geoposition>(sync: true,
|
| onListen: () {
|
| assert(watchId == null);
|
| - watchId = $dom_watchPosition(
|
| + watchId = _watchPosition(
|
| (position) {
|
| controller.add(_ensurePosition(position));
|
| },
|
| @@ -67,7 +67,7 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| },
|
| onCancel: () {
|
| assert(watchId != null);
|
| - $dom_clearWatch(watchId);
|
| + _clearWatch(watchId);
|
| });
|
|
|
| return controller.stream;
|
|
|