| Index: chrome/test/webdriver/webdriver_automation.cc
|
| diff --git a/chrome/test/webdriver/webdriver_automation.cc b/chrome/test/webdriver/webdriver_automation.cc
|
| index 903c79cb50f9dbcddf530502944da45f98e0f1bc..463ac7f12caba0aa2e011743477a51fee8c7be92 100644
|
| --- a/chrome/test/webdriver/webdriver_automation.cc
|
| +++ b/chrome/test/webdriver/webdriver_automation.cc
|
| @@ -806,12 +806,12 @@ void Automation::NavigateToURLAsync(const WebViewId& view_id,
|
| } else {
|
| scoped_refptr<BrowserProxy> browser =
|
| automation()->GetBrowserWindow(view_locator.browser_index());
|
| - if (!browser) {
|
| + if (!browser.get()) {
|
| *error = new Error(kUnknownError, "Couldn't obtain browser proxy");
|
| return;
|
| }
|
| scoped_refptr<TabProxy> tab = browser->GetTab(view_locator.tab_index());
|
| - if (!tab) {
|
| + if (!tab.get()) {
|
| *error = new Error(kUnknownError, "Couldn't obtain tab proxy");
|
| return;
|
| }
|
|
|