Fix PageInfoBubbleViewTest Harmony tests when Refresh is on.
SetPermissionInfo and SetPermissionInfoForUsbGuard were checking whether Harmony was enabled by checking the feature flag instead of calling MaterialDesignController::IsSecondaryUiMaterial. The latter will return true under Refresh when the former does not. Also deletes some obsolete Mac-only code. Bug: 846410 Change-Id: I9cdf5ec0dee8fb2fcc519fa3c09702014d7342fe Reviewed-on: https://chromium-review.googlesource.com/1103583 Commit-Queue: Bret Sepulveda <bsep@chromium.org> Reviewed-by:Trent Apted <tapted@chromium.org> Cr-Commit-Position: refs/heads/master@{#568138}
Showing
Please register or sign in to comment