| Index: chrome/browser/tab_contents/view_source_uitest.cc
|
| diff --git a/chrome/browser/tab_contents/view_source_uitest.cc b/chrome/browser/tab_contents/view_source_uitest.cc
|
| index fed5ba5dfe08d411d87d41354b1efea0625ccbea..ee16bf42178a4ea17d5b0050f3344ae4eee61e51 100644
|
| --- a/chrome/browser/tab_contents/view_source_uitest.cc
|
| +++ b/chrome/browser/tab_contents/view_source_uitest.cc
|
| @@ -49,7 +49,7 @@ TEST_F(ViewSourceTest, DoesBrowserRenderInViewSource) {
|
| 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
|
|
|