| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | |
| 6 #include "modules/geolocation/GeolocationWatchers.h" | 5 #include "modules/geolocation/GeolocationWatchers.h" |
| 7 | 6 |
| 8 #include "modules/geolocation/GeoNotifier.h" | 7 #include "modules/geolocation/GeoNotifier.h" |
| 9 | 8 |
| 10 namespace blink { | 9 namespace blink { |
| 11 | 10 |
| 12 DEFINE_TRACE(GeolocationWatchers) | 11 DEFINE_TRACE(GeolocationWatchers) |
| 13 { | 12 { |
| 14 visitor->trace(m_idToNotifierMap); | 13 visitor->trace(m_idToNotifierMap); |
| 15 visitor->trace(m_notifierToIdMap); | 14 visitor->trace(m_notifierToIdMap); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 { | 66 { |
| 68 return m_idToNotifierMap.isEmpty(); | 67 return m_idToNotifierMap.isEmpty(); |
| 69 } | 68 } |
| 70 | 69 |
| 71 void GeolocationWatchers::getNotifiersVector(HeapVector<Member<GeoNotifier>>& co
py) const | 70 void GeolocationWatchers::getNotifiersVector(HeapVector<Member<GeoNotifier>>& co
py) const |
| 72 { | 71 { |
| 73 copyValuesToVector(m_idToNotifierMap, copy); | 72 copyValuesToVector(m_idToNotifierMap, copy); |
| 74 } | 73 } |
| 75 | 74 |
| 76 } // namespace blink | 75 } // namespace blink |
| OLD | NEW |