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

Unified Diff: content/renderer/renderer_main_platform_delegate_android.cc

Issue 2101943004: content: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase/update 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/scheduler/resource_dispatch_throttler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_main_platform_delegate_android.cc
diff --git a/content/renderer/renderer_main_platform_delegate_android.cc b/content/renderer/renderer_main_platform_delegate_android.cc
index 86c1944f30308bc21d8150c9ef33b01e41e568d3..0c9b6cbca78c53d5b8f64c2d5433ad73aae58a59 100644
--- a/content/renderer/renderer_main_platform_delegate_android.cc
+++ b/content/renderer/renderer_main_platform_delegate_android.cc
@@ -51,7 +51,7 @@ class RecordSeccompStatus {
// Determines if the running device should support Seccomp, based on the Android
// SDK version.
bool IsSeccompBPFSupportedBySDK() {
- const auto info = base::android::BuildInfo::GetInstance();
+ auto* info = base::android::BuildInfo::GetInstance();
if (info->sdk_int() < 22) {
// Seccomp was never available pre-Lollipop.
return false;
@@ -62,7 +62,7 @@ bool IsSeccompBPFSupportedBySDK() {
"manta", "shamu", "sprout", "volantis",
};
- for (const auto& device : kDevices) {
+ for (auto* device : kDevices) {
if (strcmp(device, info->device()) == 0) {
return true;
}
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/scheduler/resource_dispatch_throttler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698