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

Unified Diff: chrome/browser/instant/instant_controller.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: chrome/browser/instant/instant_controller.cc
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc
index 629bdc64128516c6ac4796142dfdb7cfbd9b2fca..e0f7125f59093ca3676ff2adf3d3c47b87bcac8f 100644
--- a/chrome/browser/instant/instant_controller.cc
+++ b/chrome/browser/instant/instant_controller.cc
@@ -507,5 +507,5 @@ void InstantController::ScheduleDestroy(InstantLoader* loader) {
}
void InstantController::DestroyLoaders() {
- loaders_to_destroy_.reset();
+ loaders_to_destroy_.clear();
}

Powered by Google App Engine
This is Rietveld 408576698