| Index: chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.cc b/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| index c62666cc116babbc1ed5d7f09be697a07e711aad..ee06703608ca921ebd4daec04ed4bcac76c0b1ca 100644
|
| --- a/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| +++ b/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| @@ -621,8 +621,10 @@ std::vector<views::View*> AppListViewDelegate::CreateCustomPageWebViews(
|
| it != custom_page_contents_.end();
|
| ++it) {
|
| content::WebContents* web_contents = (*it)->web_contents();
|
| - // TODO(mgiuca): DCHECK_EQ(profile_, web_contents->GetBrowserContext())
|
| - // after http://crbug.com/392763 resolved.
|
| +
|
| + // The web contents should belong to the current profile.
|
| + DCHECK_EQ(profile_, web_contents->GetBrowserContext());
|
| +
|
| views::WebView* web_view =
|
| new views::WebView(web_contents->GetBrowserContext());
|
| web_view->SetPreferredSize(size);
|
|
|