summaryrefslogtreecommitdiffstats
path: root/ui/app_list/test
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-29 01:23:00 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-29 01:23:00 +0000
commitc9b9ccc0a0f11bbe36b8e93b336165639bc97b40 (patch)
tree8295ec1472eb85f797d53d0540d13c24556dd511 /ui/app_list/test
parentdd52aa7f2a374e666b05e7e70029e5a8727e3146 (diff)
downloadchromium_src-c9b9ccc0a0f11bbe36b8e93b336165639bc97b40.zip
chromium_src-c9b9ccc0a0f11bbe36b8e93b336165639bc97b40.tar.gz
chromium_src-c9b9ccc0a0f11bbe36b8e93b336165639bc97b40.tar.bz2
Protect AppListItemList Add/Remove and fix sync bugs
This should fixe the issues seen in the bug, and includes some cleanup in prep for syncing folders. BUG=338520 TBR=jamescook@chromium.org for ash_shell.cc Review URL: https://codereview.chromium.org/148403007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247565 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/app_list/test')
-rw-r--r--ui/app_list/test/app_list_test_model.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app_list/test/app_list_test_model.cc b/ui/app_list/test/app_list_test_model.cc
index d75f5c6..d29fc25 100644
--- a/ui/app_list/test/app_list_test_model.cc
+++ b/ui/app_list/test/app_list_test_model.cc
@@ -84,7 +84,7 @@ AppListTestModel::AppListTestItemModel* AppListTestModel::CreateItem(
void AppListTestModel::CreateAndAddItem(const std::string& title,
const std::string& full_name) {
- item_list()->AddItem(CreateItem(title, full_name));
+ AddItem(CreateItem(title, full_name));
}
void AppListTestModel::CreateAndAddItem(const std::string& title) {