Index: sdk/lib/html/dartium/html_dartium.dart |
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart |
index 4d89bc4c3e0ffcc35194936caa78f822d6246710..4b88e7e7c2a86670a9f322d03329af1375b09a2b 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -12040,7 +12040,7 @@ class Geolocation extends NativeFieldWrapperClass1 { |
var controller; |
controller = new StreamController<Geoposition>( |
onSubscriptionStateChange: () { |
- if (controller.hasSubscribers) { |
+ if (controller.hasListener) { |
assert(watchId == null); |
watchId = $dom_watchPosition( |
(position) { |