Commit f00d3da3 authored by Ahmed Mehfooz's avatar Ahmed Mehfooz Committed by Commit Bot

Correct function call to force no focus ring for SearchBoxImageButton

Bug: 1025313
Change-Id: I87631cc98eb6bb4e5dd11ba1a66bd3868c55865e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1918269Reviewed-by: default avatarAlex Newcomer <newcomer@chromium.org>
Commit-Queue: Ahmed Mehfooz <amehfooz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#715886}
parent a8d4c5d8
......@@ -91,7 +91,7 @@ class SearchBoxImageButton : public views::ImageButton {
// Avoid drawing default dashed focus and draw customized focus in
// OnPaintBackground();
SetFocusPainter(nullptr);
SetInstallFocusRingOnFocus(false);
SetPaintToLayer();
layer()->SetFillsBoundsOpaquely(false);
......
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