Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(967)

Unified Diff: content/browser/geolocation/location_arbitrator.cc

Issue 10797017: base: Make ScopedVector::clear() destroy elements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update location_bar_view_mac.mm Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/geolocation/location_arbitrator.cc
diff --git a/content/browser/geolocation/location_arbitrator.cc b/content/browser/geolocation/location_arbitrator.cc
index 5fde6fb124608102363b3d36ae065ba1ce2a4700..aa977e0ae51293685d72a45694f55aba79a9a47e 100644
--- a/content/browser/geolocation/location_arbitrator.cc
+++ b/content/browser/geolocation/location_arbitrator.cc
@@ -84,7 +84,7 @@ void GeolocationArbitrator::DoStartProviders() {
}
void GeolocationArbitrator::StopProviders() {
- providers_.reset();
+ providers_.clear();
}
void GeolocationArbitrator::OnAccessTokenStoresLoaded(
« no previous file with comments | « chromeos/dbus/ibus/ibus_property_unittest.cc ('k') | content/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698