summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui_test_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/ui_test_utils.cc')
-rw-r--r--chrome/test/ui_test_utils.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/test/ui_test_utils.cc b/chrome/test/ui_test_utils.cc
index b2b2258..c93ec1c 100644
--- a/chrome/test/ui_test_utils.cc
+++ b/chrome/test/ui_test_utils.cc
@@ -544,12 +544,9 @@ int FindInPage(TabContents* tab_contents, const string16& search_string,
}
void RegisterAndWait(NotificationType::Type type,
- NotificationObserver* observer,
- int64 timeout_ms) {
+ NotificationObserver* observer) {
NotificationRegistrar registrar;
registrar.Add(observer, type, NotificationService::AllSources());
- MessageLoop::current()->PostDelayedTask(
- FROM_HERE, new MessageLoop::QuitTask, timeout_ms);
RunMessageLoop();
}