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

Unified Diff: ui/app_list/views/app_list_view_unittest.cc

Issue 492643003: Fix memory leak in app_list_view_unittest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_view_unittest.cc
diff --git a/ui/app_list/views/app_list_view_unittest.cc b/ui/app_list/views/app_list_view_unittest.cc
index 96a60f24eaada0692c7448874f82762e2d592e16..d1c4fc731afb9d0575aefbcd2759912d9e460113 100644
--- a/ui/app_list/views/app_list_view_unittest.cc
+++ b/ui/app_list/views/app_list_view_unittest.cc
@@ -336,7 +336,7 @@ void AppListViewTestContext::RunStartPageTest() {
model->results()->Add(new TestTileSearchResult());
start_page_view->UpdateForTesting();
EXPECT_EQ(1u, GetVisibleTileItemViews(start_page_view->tile_views()));
- model->results()->RemoveAll();
+ model->results()->DeleteAll();
start_page_view->UpdateForTesting();
EXPECT_EQ(0u, GetVisibleTileItemViews(start_page_view->tile_views()));
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698