summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/autocomplete_edit_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/automation/autocomplete_edit_proxy.cc')
-rw-r--r--chrome/test/automation/autocomplete_edit_proxy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/automation/autocomplete_edit_proxy.cc b/chrome/test/automation/autocomplete_edit_proxy.cc
index f7f23f2e..59c64ba 100644
--- a/chrome/test/automation/autocomplete_edit_proxy.cc
+++ b/chrome/test/automation/autocomplete_edit_proxy.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -65,7 +65,7 @@ bool AutocompleteEditProxy::WaitForQuery(int wait_timeout_ms) const {
while (TimeTicks::Now() - start < timeout) {
if (IsQueryInProgress(&query_in_progress) && !query_in_progress)
return true;
- Sleep(automation::kSleepTime);
+ PlatformThread::Sleep(automation::kSleepTime);
}
// If we get here the query is still in progress.
return false;