Index: chrome/android/javatests/src/org/chromium/chrome/browser/test/ModalDialogTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/test/ModalDialogTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/test/ModalDialogTest.java |
index 30c7ce795961c9454740bec52c4684babd70b9b5..3918475d9190cc2a888289974f7cd5414a7d286c 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/test/ModalDialogTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/test/ModalDialogTest.java |
@@ -283,7 +283,7 @@ public class ModalDialogTest extends ChromeShellTestBase { |
ThreadUtils.runOnUiThreadBlocking(new Runnable() { |
@Override |
public void run() { |
- getActivity().closeAllTabs(); |
+ getActivity().closeTab(); |
} |
}); |