Commit 1cb475c2 authored by Nico Weber's avatar Nico Weber

ios: Fix a Wrange-loop-analysis warning.

Bug: 1039697
Change-Id: Ied0f97df085594347a8e404b91c00f8ba0933690
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2071697
Auto-Submit: Nico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#744247}
parent c4e32d57
...@@ -255,7 +255,7 @@ UIColor* DimColorIncognito() { ...@@ -255,7 +255,7 @@ UIColor* DimColorIncognito() {
NSMutableAttributedString* result = NSMutableAttributedString* result =
[[NSMutableAttributedString alloc] initWithString:@""]; [[NSMutableAttributedString alloc] initWithString:@""];
for (const auto field : line.text_fields()) { for (const auto& field : line.text_fields()) {
[result appendAttributedString: [result appendAttributedString:
[self attributedStringForTextfield:&field [self attributedStringForTextfield:&field
useDeemphasizedStyling:useDeemphasizedStyling]]; useDeemphasizedStyling:useDeemphasizedStyling]];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment