Restore original override in base::ScopedPathOverride
This affects ui/base unit tests, where the test suite overrides ui::DIR_LOCALES in its initialization function. Any ScopedPathOverride which overrides ui::DIR_LOCALES will cause it to reset to the original ui::DIR_LOCALES value - not the override in the test suite initialization - which might cause order dependent tests. Fixed: 1153235 Change-Id: I03981980a3e0c6ab2596989a2e499ec237fce206 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2563013 Commit-Queue: Michael Cui <mlcui@google.com> Reviewed-by:danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#833181}
Showing
Please register or sign in to comment