Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Unified Diff: chrome_frame/test/test_with_web_server.cc

Issue 10019015: Update uses of TimeDelta in chrome_frame/*. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome_frame/test/test_with_web_server.cc
diff --git a/chrome_frame/test/test_with_web_server.cc b/chrome_frame/test/test_with_web_server.cc
index e01733efdfbab2e351e9ea721a3c464627b4833b..1be325b9bd0d2c3ba789add8e5e533864afea727 100644
--- a/chrome_frame/test/test_with_web_server.cc
+++ b/chrome_frame/test/test_with_web_server.cc
@@ -306,8 +306,7 @@ void MockWebServer::HandlePostedResponse(
posted_result_ = request.content();
if (posted_result_ == expected_result_) {
MessageLoop::current()->PostDelayedTask(FROM_HERE,
- MessageLoop::QuitClosure(),
- 100);
+ MessageLoop::QuitClosure(), base::TimeDelta::FromMilliseconds(100));
}
connection->Send("HTTP/1.1 200 OK\r\n", "");
}

Powered by Google App Engine
This is Rietveld 408576698