Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: chrome/test/webdriver/webdriver_automation.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/reliability/automated_ui_test_base.cc ('k') | content/browser/browser_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « chrome/test/reliability/automated_ui_test_base.cc ('k') | content/browser/browser_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698