Commit 6cc67b23 authored by My Nguyen's avatar My Nguyen Committed by Commit Bot

Use make_unique instead of unique_ptr

In preparation for moving ui/chromeos/ime to
chrome/browser/chromeos/input_method/ui, fix presubmit errors.

Change-Id: I576ef32b13bd74b18a2e942aa6a5b2f0aaa69884
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2228016Reviewed-by: default avatarKeith Lee <keithlee@chromium.org>
Commit-Queue: My Nguyen <myy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#775003}
parent ff053efd
...@@ -218,8 +218,7 @@ void InfolistWindow::InitWidget() { ...@@ -218,8 +218,7 @@ void InfolistWindow::InitWidget() {
wm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE); wm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE);
// BubbleFrameView will be initialized through CreateBubble. // BubbleFrameView will be initialized through CreateBubble.
GetBubbleFrameView()->SetBubbleBorder( GetBubbleFrameView()->SetBubbleBorder(std::make_unique<InfolistBorder>());
std::unique_ptr<views::BubbleBorder>(new InfolistBorder()));
SizeToContents(); SizeToContents();
} }
......
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