diff options
author | stoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-21 01:21:48 +0000 |
---|---|---|
committer | stoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-21 01:21:48 +0000 |
commit | 82a200191df08bab26f78240af1883ca46b1942f (patch) | |
tree | 0ff39c52e8e86e0eff79f88d74d35bd003e8960e /chrome/browser/browser_uitest.cc | |
parent | 58567187439fdcad4cf4fdc39a1d92668b7afbb8 (diff) | |
download | chromium_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/browser/browser_uitest.cc')
-rw-r--r-- | chrome/browser/browser_uitest.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/browser_uitest.cc b/chrome/browser/browser_uitest.cc index 1037a89..f64abe7 100644 --- a/chrome/browser/browser_uitest.cc +++ b/chrome/browser/browser_uitest.cc @@ -32,8 +32,7 @@ class BrowserTest : public UITest { protected: HWND GetMainWindow() { scoped_ptr<BrowserProxy> browser(automation()->GetBrowserWindow(0)); - scoped_ptr<WindowProxy> window( - automation()->GetWindowForBrowser(browser.get())); + scoped_ptr<WindowProxy> window(browser->GetWindow()); HWND window_handle; EXPECT_TRUE(window->GetHWND(&window_handle)); |