diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 10:57:47 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 10:57:47 +0000 |
commit | 6d4480b50022d0eaee080b86be3a304a46b0454d (patch) | |
tree | b806197b02428264100c33d71d1fc9cba496e482 /chrome/test/automation/window_proxy.cc | |
parent | 55e57d4d2326bd98d6e14c92ba055754ef77b0e6 (diff) | |
download | chromium_src-6d4480b50022d0eaee080b86be3a304a46b0454d.zip chromium_src-6d4480b50022d0eaee080b86be3a304a46b0454d.tar.gz chromium_src-6d4480b50022d0eaee080b86be3a304a46b0454d.tar.bz2 |
Make basic bits of chrome/test/automation build on Linux.
Review URL: http://codereview.chromium.org/27060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10331 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/window_proxy.cc')
-rw-r--r-- | chrome/test/automation/window_proxy.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/automation/window_proxy.cc b/chrome/test/automation/window_proxy.cc index d43f718..030fea2 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, |