[base] Add destination checks in TaskTraits to Java traits as well
Java was never migrated to explicit-destination-required like was done on the C++ side. So there are lots of callers using default=>THREAD_POOL : https://source.chromium.org/search?q=%5CbTaskTraits%5C.(BEST_EFFORT%7CUSER_VISIBLE%7CUSER_BLOCKING)&ss=chromium This is a problem now that we want to make the C++ checks runtime (applies to Java as well) in https://chromium-review.googlesource.com/c/chromium/src/+/1978821 Decouple the C++ and the Java migration by promoting implicit Java destination to an explicit C++ request to run on the thread pool. Bug: 1026641 Change-Id: Ifcd18a53643154393fbb1338ea574c0ba219a914 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1983461 Commit-Queue: Gabriel Charette <gab@chromium.org> Reviewed-by:Ross McIlroy <rmcilroy@chromium.org> Reviewed-by:
Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/heads/master@{#730536}
Showing
Please register or sign in to comment