Index: chrome/browser/sync/test/integration/sessions_helper.cc |
diff --git a/chrome/browser/sync/test/integration/sessions_helper.cc b/chrome/browser/sync/test/integration/sessions_helper.cc |
index e7ca8b016db9d0a4cb3586db4508abc4b56e66f7..05886741e88914a9f26f14bc1ba0356de4c6a547 100644 |
--- a/chrome/browser/sync/test/integration/sessions_helper.cc |
+++ b/chrome/browser/sync/test/integration/sessions_helper.cc |
@@ -121,10 +121,8 @@ bool OpenMultipleTabs(int index, const std::vector<GURL>& urls) { |
bool WaitForTabsToLoad(int index, const std::vector<GURL>& urls) { |
DVLOG(1) << "Waiting for session to propagate to associator."; |
- static const int timeout_milli = TestTimeouts::action_max_timeout_ms(); |
base::TimeTicks start_time = base::TimeTicks::Now(); |
- base::TimeTicks end_time = start_time + |
- base::TimeDelta::FromMilliseconds(timeout_milli); |
+ base::TimeTicks end_time = start_time + TestTimeouts::action_max_timeout(); |
bool found; |
for (std::vector<GURL>::const_iterator it = urls.begin(); |
it != urls.end(); ++it) { |