Fix TestWithBrowserView tests when ExtensionsToolbarMenu is enabled.
Unlike ToolbarActionsBar, ExtensionsToolbarContainer assumes the ToolbarActionsModel always exists. When the feature flag was enabled, this would crash any test that creates a BrowserView. To fix this, TestWithBrowserView initializes ToolbarActionsModel. Bug: 984654 Change-Id: I69df818c72f898dbf2e2bb7c80d3ac5bcc096c66 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1901076Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Reviewed-by:
Peter Boström <pbos@chromium.org> Commit-Queue: Bret Sepulveda <bsep@chromium.org> Cr-Commit-Position: refs/heads/master@{#715222}
Showing
Please register or sign in to comment