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 c4fec21188aa25037d7711fa795c472c8a4b3870..5049d4b475be5a58b8390aa589a59c006d41298d 100644 |
--- a/tools/dom/templates/html/impl/impl_Geolocation.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Geolocation.darttemplate |
@@ -53,7 +53,7 @@ $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
int watchId; |
var controller; |
- controller = new StreamController<Geoposition>( |
+ controller = new StreamController<Geoposition>(sync: true, |
onListen: () { |
assert(watchId == null); |
watchId = $dom_watchPosition( |