| 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,
|
|
|