Revert "Reland "Introduce CriteriaHelper#pollUiThreadNested""
This reverts commit 7a9d7b86. Reason for revert: crbug.com/1118189 Original change's description: > Reland "Introduce CriteriaHelper#pollUiThreadNested" > > Introduce CriteriaHelper#pollUiThreadNested > This change adds an assertion that pollUiThread is not called from the > UI thread, which is equivalent to calling sleep(), and won't actually > run any UI thread tasks. > > In the few cases where polling the UI Thread from the UI thread is > necessary, I introduce CriteriaHelper#pollUiThreadNested, which nests > the looper in order to continue running UI tasks. > > Bug: 1115220 > Change-Id: I9338a607590e8ee0a22bc32477f02867c6e37271 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2357289 > Reviewed-by: Yaron Friedman <yfriedman@chromium.org> > Commit-Queue: Michael Thiessen <mthiesse@chromium.org> > Cr-Commit-Position: refs/heads/master@{#798862} TBR=yfriedman@chromium.org,mthiesse@chromium.org,hypan@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 1115220 Change-Id: I7121ee7847634cee2bd6d9fc1927ce5e34d5d023 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364741Reviewed-by:Michael Thiessen <mthiesse@chromium.org> Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Cr-Commit-Position: refs/heads/master@{#799808}
Showing
Please register or sign in to comment