Commit 0b37040b authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

Fix spotlight state of the tools menu button

The spotlighted view wasn't created for the tools menu button.
This bug was introduced in the CL moving the creation of the spotlight
view from a lazy accessor to a protected method.

Bug: 850513
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I9bdf63ab0ed7095203a0dad2ce34642912814710
Reviewed-on: https://chromium-review.googlesource.com/1104690Reviewed-by: default avatarOlivier Robin <olivierrobin@chromium.org>
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568372}
parent 28b5e293
......@@ -99,6 +99,8 @@ const CGFloat kStrokeEndAtApogee = 1;
forState:UIControlStateNormal];
[self setTintColor:toolbar::HighlighButtonTint(style_)
forState:UIControlStateHighlighted];
} else {
[self configureSpotlightView];
}
}
return self;
......
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