Fix PersonalDataManagerTest::CreateDataForTest on Release builds
The ModelTypeSet(ModelType) constructor does not create a ModelTypeSet containing only ModelType. On debug builds, the variable initializations of bitset to 0 make the test working as expected. On release builds, the preferred data types is set to a random value. Fix by calling an explicit ModelTypeSet constructor. Bug: 837553 Change-Id: I55c83a16ce391fdc908f0247d2dd1c7e510d54d7 Reviewed-on: https://chromium-review.googlesource.com/1039192Reviewed-by:Roger McFarlane <rogerm@chromium.org> Commit-Queue: Olivier Robin <olivierrobin@chromium.org> Cr-Commit-Position: refs/heads/master@{#555371}
Showing
Please register or sign in to comment