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

Unified Diff: chrome/test/automation/window_proxy.cc

Issue 27060: Make basic bits of chrome/test/automation build on Linux. (Closed)
Patch Set: use base::kNoTimeout Created 11 years, 10 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
« no previous file with comments | « chrome/test/automation/window_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/window_proxy.cc
diff --git a/chrome/test/automation/window_proxy.cc b/chrome/test/automation/window_proxy.cc
index d43f7183498df9c7313fb11e32f8e24b642db0ec..030fea2a01da1bb1567efdb23dd57b77f4d4bb7a 100644
--- a/chrome/test/automation/window_proxy.cc
+++ b/chrome/test/automation/window_proxy.cc
@@ -69,7 +69,7 @@ bool WindowProxy::Activate() {
bool WindowProxy::GetViewBounds(int view_id, gfx::Rect* bounds,
bool screen_coordinates) {
return GetViewBoundsWithTimeout(view_id, bounds, screen_coordinates,
- INFINITE, NULL);
+ base::kNoTimeout, NULL);
}
bool WindowProxy::GetViewBoundsWithTimeout(int view_id, gfx::Rect* bounds,
@@ -106,7 +106,7 @@ bool WindowProxy::GetFocusedViewID(int* view_id) {
}
BrowserProxy* WindowProxy::GetBrowser() {
- return GetBrowserWithTimeout(INFINITE, NULL);
+ return GetBrowserWithTimeout(base::kNoTimeout, NULL);
}
BrowserProxy* WindowProxy::GetBrowserWithTimeout(uint32 timeout_ms,
« no previous file with comments | « chrome/test/automation/window_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698