summaryrefslogtreecommitdiffstats
path: root/chrome/test/reliability/page_load_test.cc
diff options
context:
space:
mode:
authorstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-21 01:21:48 +0000
committerstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-21 01:21:48 +0000
commit82a200191df08bab26f78240af1883ca46b1942f (patch)
tree0ff39c52e8e86e0eff79f88d74d35bd003e8960e /chrome/test/reliability/page_load_test.cc
parent58567187439fdcad4cf4fdc39a1d92668b7afbb8 (diff)
downloadchromium_src-82a200191df08bab26f78240af1883ca46b1942f.zip
chromium_src-82a200191df08bab26f78240af1883ca46b1942f.tar.gz
chromium_src-82a200191df08bab26f78240af1883ca46b1942f.tar.bz2
Refactor automation wrappers. Move the methods from AutomationProxy to the appropriate classes.
Review URL: http://codereview.chromium.org/18335 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8351 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/reliability/page_load_test.cc')
-rw-r--r--chrome/test/reliability/page_load_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/test/reliability/page_load_test.cc b/chrome/test/reliability/page_load_test.cc
index 0dfe427..b451006 100644
--- a/chrome/test/reliability/page_load_test.cc
+++ b/chrome/test/reliability/page_load_test.cc
@@ -154,8 +154,7 @@ class PageLoadTest : public UITest {
// Page down twice.
scoped_ptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
if (browser.get()) {
- scoped_ptr<WindowProxy> window(
- automation()->GetWindowForBrowser(browser.get()));
+ scoped_ptr<WindowProxy> window(browser->GetWindow());
if (window.get()) {
bool activation_timeout;
browser->BringToFrontWithTimeout(action_max_timeout_ms(),