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

Unified Diff: chrome/browser/android/download/chrome_download_delegate.cc

Issue 2175503002: chrome/browser/android: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: chrome/browser/android/download/chrome_download_delegate.cc
diff --git a/chrome/browser/android/download/chrome_download_delegate.cc b/chrome/browser/android/download/chrome_download_delegate.cc
index c592446b4fb58a60edfaaf2e5b342e45ce2798cb..5c9e7d6fc694514ad91bd667bcb9d3b2009002fa 100644
--- a/chrome/browser/android/download/chrome_download_delegate.cc
+++ b/chrome/browser/android/download/chrome_download_delegate.cc
@@ -206,7 +206,7 @@ void ChromeDownloadDelegate::RequestFileAccess(intptr_t callback_id) {
void Init(JNIEnv* env,
const JavaParamRef<jobject>& obj,
const JavaParamRef<jobject>& jweb_contents) {
- auto web_contents = WebContents::FromJavaWebContents(jweb_contents);
+ auto* web_contents = WebContents::FromJavaWebContents(jweb_contents);
ChromeDownloadDelegate::CreateForWebContents(web_contents);
ChromeDownloadDelegate::FromWebContents(web_contents)->SetJavaRef(env, obj);
}
« no previous file with comments | « chrome/browser/android/data_usage/data_use_tab_helper.cc ('k') | chrome/browser/android/ntp/most_visited_sites_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698