Init ModelTypeController's delegate to nullptr
The initial value of ModelTypeController::delegate_ is never read because the delegate is only used once the controller starts running. However, let's make sure it's initially null to detect CHECK failures if there is a violation of the API. Bug: 885019 Change-Id: I4a5623986b2bbd6c96a02f218438367d8e78a7fc Reviewed-on: https://chromium-review.googlesource.com/1238729 Commit-Queue: Mikel Astiz <mastiz@chromium.org> Reviewed-by:Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#593529}
Showing
Please register or sign in to comment