| Index: chrome/browser/tab_contents/view_source_uitest.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/view_source_uitest.cc (revision 13127)
|
| +++ chrome/browser/tab_contents/view_source_uitest.cc (working copy)
|
| @@ -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.
|
|
|
| @@ -49,7 +49,7 @@
|
| url = GURL("view-source:" + url.spec());
|
| scoped_ptr<TabProxy> tab(GetActiveTab());
|
| tab->NavigateToURL(url);
|
| - Sleep(sleep_timeout_ms());
|
| + PlatformThread::Sleep(sleep_timeout_ms());
|
|
|
| // Try to retrieve the cookie that the page sets
|
| // It should not be there (because we are in view-source mode
|
|
|