[Extensions Menu] Instantiate ToolbarActionsModel for CocoaProfileTests
The ExtensionsToolbarContainer relies on a non-null ToolbarActionsModel to work (otherwise it segfaults). Thus, any test that creates a BrowserView (or BrowserView-like) thing needs to instantiate a test model. Instantiate the model in the CocoaProfileTest suite. This puts it on similar status with other keyed services instantiated in this test, such as TemplateURLService and AutocompleteClassifier. Bug: 984654 Change-Id: I61e348d175dc2b23ee912886a0be34b09c96d09c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2037839Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by:
Peter Boström <pbos@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#739078}
Showing
Please register or sign in to comment