| Index: content/public/test/android/javatests/src/org/chromium/content/browser/test/util/DOMUtils.java
|
| diff --git a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/DOMUtils.java b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/DOMUtils.java
|
| index 6bd6e0d557b94264054b9d5ecee6590eede6aa11..48e2f95b13ac4d30ad4bdfa15625404a27623fc4 100644
|
| --- a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/DOMUtils.java
|
| +++ b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/DOMUtils.java
|
| @@ -100,8 +100,7 @@ public class DOMUtils {
|
| * @param webContents The WebContents in which the media element lives.
|
| * @param id The element's id to check.
|
| */
|
| - public static void waitForMediaPlay(final WebContents webContents, final String id)
|
| - throws InterruptedException {
|
| + public static void waitForMediaPlay(final WebContents webContents, final String id) {
|
| CriteriaHelper.pollInstrumentationThread(new Criteria() {
|
| @Override
|
| public boolean isSatisfied() {
|
| @@ -125,8 +124,7 @@ public class DOMUtils {
|
| * @param webContents The WebContents in which the media element lives.
|
| * @param id The element's id to check.
|
| */
|
| - public static void waitForMediaPauseBeforeEnd(final WebContents webContents, final String id)
|
| - throws InterruptedException {
|
| + public static void waitForMediaPauseBeforeEnd(final WebContents webContents, final String id) {
|
| CriteriaHelper.pollInstrumentationThread(new Criteria() {
|
| @Override
|
| public boolean isSatisfied() {
|
| @@ -357,8 +355,7 @@ public class DOMUtils {
|
| * @param nodeId The id of the node.
|
| */
|
| public static void waitForNonZeroNodeBounds(final WebContents webContents,
|
| - final String nodeId)
|
| - throws InterruptedException {
|
| + final String nodeId) {
|
| CriteriaHelper.pollInstrumentationThread(new Criteria() {
|
| @Override
|
| public boolean isSatisfied() {
|
|
|