App list: Added DCHECK for custom page when switching profiles.
commit535001b191a973f9615a2692831e7fdc357a6c08
authormgiuca <mgiuca@chromium.org>
Wed, 12 Nov 2014 09:01:27 +0000 (12 01:01 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 12 Nov 2014 09:01:51 +0000 (12 09:01 +0000)
tree0e76d59e80b11d8e0fd794ace0d240ee3fac3b6d
parentc0e769b69fb60e6e71e8b46e7877b8f84f33dfe7
App list: Added DCHECK for custom page when switching profiles.

This checks that the custom page's web contents belongs to the current
profile. This DCHECK would previously have failed when switching
profiles, but it should now always be true since crbug.com/392763 has
been resolved.

BUG=392763

Review URL: https://codereview.chromium.org/720683003

Cr-Commit-Position: refs/heads/master@{#303806}
chrome/browser/ui/app_list/app_list_view_delegate.cc