• Peter Kasting's avatar
    Have ViewsTestSuite initialize COM. · cb21c4be
    Peter Kasting authored
    MaterialDesignController requires COM to be initialized.  Without this, various
    views_unittests tests fail when run individually.  (This probably means there's
    a second bug somewhere where something is holding COM initialized that shouldn't
    be, or the tests would have failed all the time.)
    
    It looks like initializing at the test suite level is roughly where other places
    are doing this (e.g. ContentTestSuite), so hopefully this is the right place.
    
    Bug: none
    Change-Id: I5e6de4d45c6118b6a2bc69ba960904fa0fd8087d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1531422
    Auto-Submit: Peter Kasting <pkasting@chromium.org>
    Reviewed-by: default avatarMichael Wasserman <msw@chromium.org>
    Commit-Queue: Peter Kasting <pkasting@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#642354}
    cb21c4be
views_test_suite.h 1.34 KB