Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9655)

Unified Diff: chrome/test/android/javatests/src/org/chromium/chrome/test/util/OverviewModeBehaviorWatcher.java

Issue 2573263002: Catch InterruptedException in CriteriaHelper (Closed)
Patch Set: Change OverviewModeBehaviorWatcher back to try/finally Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/android/javatests/src/org/chromium/chrome/test/util/OverviewModeBehaviorWatcher.java
diff --git a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/OverviewModeBehaviorWatcher.java b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/OverviewModeBehaviorWatcher.java
index 757959a2acd3e441d98f9b48246a1b34b7fac94a..417082e7a6e784b47221f7be2bb4d4c91218d3dd 100644
--- a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/OverviewModeBehaviorWatcher.java
+++ b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/OverviewModeBehaviorWatcher.java
@@ -71,9 +71,8 @@ public class OverviewModeBehaviorWatcher implements OverviewModeObserver {
/**
* Blocks until all of the expected events have occurred. Once the events of this class
* are met it will always return immediately from {@link #waitForBehavior()}.
- * @throws InterruptedException
*/
- public void waitForBehavior() throws InterruptedException {
+ public void waitForBehavior() {
try {
CriteriaHelper.pollUiThread(mCriteria);
} finally {

Powered by Google App Engine
This is Rietveld 408576698