Add |AllowsBrowserWindows| CHECK to browser constructor
Static |Browser::Create| function calls |CanCreateBrowserForProfile| to make sure the passed profile can be used to create browser. Different items in this function are individually checked again in browser constructor to return proper crash message if constructor is called directly with a wrong profile, but |AllowsBrowserWindows| was missing before and is now added. Bug: 1033903 Change-Id: Iae710ed21243fddea3b54426eccae0077aba56c4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1984317 Commit-Queue: Peter Kasting <pkasting@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#780283}
Showing
Please register or sign in to comment