Index: ui/app_list/views/app_list_view.cc |
diff --git a/ui/app_list/views/app_list_view.cc b/ui/app_list/views/app_list_view.cc |
index 987631a0351373cfe62e53116aa250a1d8c27ae2..129a8a786b3b276f8b5243170b8d4c9a121c5d38 100644 |
--- a/ui/app_list/views/app_list_view.cc |
+++ b/ui/app_list/views/app_list_view.cc |
@@ -291,6 +291,9 @@ void AppListView::OnShutdown() { |
void AppListView::SetProfileByPath(const base::FilePath& profile_path) { |
delegate_->SetProfileByPath(profile_path); |
app_list_main_view_->ModelChanged(); |
+ |
+ if (delegate_) |
+ delegate_->ViewReinitializedForProfileChange(); |
} |
void AppListView::AddObserver(AppListViewObserver* observer) { |
@@ -421,9 +424,6 @@ void AppListView::InitAsBubbleInternal(gfx::NativeView parent, |
kOverlayCornerRadius - (SupportsShadow() ? 0 : 1))); |
AddChildView(overlay_view_); |
Matt Giuca
2014/11/03 00:57:42
Why did this go away?
calamity
2014/11/06 02:36:32
It's back. From outer space.
|
- if (delegate_) |
- delegate_->ViewInitialized(); |
- |
UMA_HISTOGRAM_TIMES("Apps.AppListCreationTime", |
base::Time::Now() - start_time); |
} |