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

Unified Diff: android_webview/browser/aw_form_database_service.cc

Issue 16907002: Update Android to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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 | « android_webview/browser/aw_content_browser_client.cc ('k') | android_webview/browser/aw_login_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_form_database_service.cc
diff --git a/android_webview/browser/aw_form_database_service.cc b/android_webview/browser/aw_form_database_service.cc
index d08ed0e2da2301372c2b9187b80a974f77b36d89..72b8b911cbf621bff23e1cb0becbfd2127d0ccab 100644
--- a/android_webview/browser/aw_form_database_service.cc
+++ b/android_webview/browser/aw_form_database_service.cc
@@ -52,7 +52,7 @@ void AwFormDatabaseService::Shutdown() {
void AwFormDatabaseService::CancelPendingQuery() {
if (pending_query_handle_) {
- if (autofill_data_)
+ if (autofill_data_.get())
autofill_data_->CancelRequest(pending_query_handle_);
pending_query_handle_ = 0;
}
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | android_webview/browser/aw_login_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698