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; |
} |