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

Unified Diff: chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: rebase Created 3 years, 10 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/offline_pages/downloads/offline_page_download_bridge.cc
diff --git a/chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc b/chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc
index eae51970503e037f6096d8cc9c18a68f3ff11956..c7c7242699ee0d61315bbbe787a8818f88408542 100644
--- a/chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc
+++ b/chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc
@@ -219,7 +219,7 @@ void ToJavaOfflinePageDownloadItemList(
JNIEnv* env,
jobject j_result_obj,
const std::vector<const DownloadUIItem*>& items) {
- for (const auto item : items) {
+ for (const auto* item : items) {
Java_OfflinePageDownloadBridge_createDownloadItemAndAddToList(
env, j_result_obj, ConvertUTF8ToJavaString(env, item->guid),
ConvertUTF8ToJavaString(env, item->url.spec()), item->download_state,
« no previous file with comments | « chrome/browser/android/instantapps/instant_apps_infobar_delegate.cc ('k') | chrome/browser/android/vr_shell/vr_shell_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698