DescriptionDo the ReloadLocaleResources() call on the IO thread to avoid synchronization issues.
Followup to https://chromiumcodereview.appspot.com/10543015/
Forced the Reload on the same thread (IO) that was racing with the call. Since Tony doesn't want us to add synchronization to ResourceBundle from a case that's only exercised in test, we'll go this route to stop the race.
R=tony@chromium.org, estade@chromium.org
BUG=95425
TEST=browser_tests --gtest_filter=WebUIBidiCheckerBrowserTestRTL.*TestSettingsFrameStartup --gtest_also_run_disabled_tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=141964
Patch Set 1 #
Total comments: 2
Patch Set 2 : Created ui_test_util for WaitEventSignaled to run the idle tasks until signaled. Used ScopedAllowIO. #Patch Set 3 : Remove ui_test_utils:: for call within same namespace. #
Total comments: 2
Messages
Total messages: 9 (0 generated)
|