Commit 0a47b5b4 authored by Jongmok Kim's avatar Jongmok Kim Committed by Commit Bot

Use ui::ImageModel instead of gfx::ImageSkia in WebAppMenuButton

Bug: 1100034
Change-Id: Id91fef164ce560cdecc777c35c100dd42d16685a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2322288Reviewed-by: default avatarAlexey Baskakov <loyso@chromium.org>
Commit-Queue: Jongmok Kim <jongmok.kim@navercorp.com>
Cr-Commit-Position: refs/heads/master@{#792499}
parent a862f943
......@@ -55,8 +55,8 @@ WebAppMenuButton::WebAppMenuButton(BrowserView* browser_view,
WebAppMenuButton::~WebAppMenuButton() = default;
void WebAppMenuButton::SetColor(SkColor color) {
SetImage(views::Button::STATE_NORMAL,
gfx::CreateVectorIcon(kBrowserToolsIcon, color));
SetImageModel(views::Button::STATE_NORMAL,
ui::ImageModel::FromVectorIcon(kBrowserToolsIcon, color));
ink_drop_color_ = color;
}
......
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