Commit 67f8c88e authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

[iOS] Fix AccessibilityLabel of the NewTab button in toolbar

The accessibility label was overridden right after it was set.
This CL removes the override.

Bug: 987234
Change-Id: If30c3b9e2cbaf46b6fb607d69b917e5b8bf60f21
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715291
Auto-Submit: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarJavier Ernesto Flores Robles <javierrobles@chromium.org>
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680423}
parent 9923921d
...@@ -194,8 +194,6 @@ ...@@ -194,8 +194,6 @@
l10n_util::GetNSString(IDS_IOS_TOOLBAR_SEARCH); l10n_util::GetNSString(IDS_IOS_TOOLBAR_SEARCH);
} }
searchButton.accessibilityLabel =
l10n_util::GetNSString(IDS_IOS_TOOLBAR_SEARCH);
searchButton.accessibilityIdentifier = kToolbarSearchButtonIdentifier; searchButton.accessibilityIdentifier = kToolbarSearchButtonIdentifier;
searchButton.visibilityMask = searchButton.visibilityMask =
......
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