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

Unified Diff: ash/shell/app_list.cc

Issue 550883002: Fix SpeechUIModel lifetime issue in Chrome's AppListViewDelegate when switching profiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clear state for SetProfile(NULL) Created 6 years, 3 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 | athena/home/app_list_view_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/app_list.cc
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc
index bf5a44b504b9e6d23641f3d4cbea132b31e3d980..1c00f2b66431d1b49e193a43d2a169696efbf707 100644
--- a/ash/shell/app_list.cc
+++ b/ash/shell/app_list.cc
@@ -197,8 +197,7 @@ class ExampleSearchResult : public app_list::SearchResult {
class ExampleAppListViewDelegate : public app_list::AppListViewDelegate {
public:
ExampleAppListViewDelegate()
- : model_(new app_list::AppListModel),
- speech_ui_(app_list::SPEECH_RECOGNITION_OFF) {
+ : model_(new app_list::AppListModel) {
PopulateApps();
DecorateSearchBox(model_->search_box());
}
« no previous file with comments | « no previous file | athena/home/app_list_view_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698