Commit a021ce94 authored by Wei Li's avatar Wei Li Committed by Chromium LUCI CQ

Clean up duplicate code

Bug: none
Change-Id: I387f48a86be50c70c10d107d30c6b35328a3b7c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2587766Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Wei Li <weili@chromium.org>
Cr-Commit-Position: refs/heads/master@{#836723}
parent 5737ebb1
......@@ -100,8 +100,6 @@ ImeModeIndicatorView::CreateNonClientFrameView(views::Widget* widget) {
auto frame = std::make_unique<ModeIndicatorFrameView>();
// arrow adjustment in BubbleDialogDelegateView is unnecessary because arrow
// of this bubble is always center.
frame->SetBubbleBorder(std::unique_ptr<views::BubbleBorder>(
new views::BubbleBorder(arrow(), GetShadow(), color())));
frame->SetBubbleBorder(
std::make_unique<views::BubbleBorder>(arrow(), GetShadow(), color()));
return frame;
......
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