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

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: 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 d7ef68da8e7b52ea94767a452fff64b193746b81..91afe48a0ecb38eec264cb7af64888e5cefa8530 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
@@ -213,7 +213,7 @@ void ToJavaOfflinePageDownloadItemList(
JNIEnv* env,
jobject j_result_obj,
const std::vector<const DownloadUIItem*>& items) {
- for (const auto item : items) {
+ for (auto* item : items) {
danakj 2017/02/28 15:33:29 const auto*?
vmpstr 2017/02/28 21:48:27 Done.
Java_OfflinePageDownloadBridge_createDownloadItemAndAddToList(
env, j_result_obj, ConvertUTF8ToJavaString(env, item->guid),
ConvertUTF8ToJavaString(env, item->url.spec()), item->download_state,

Powered by Google App Engine
This is Rietveld 408576698