Commit 18b8f31d authored by Zinovy Nis's avatar Zinovy Nis Committed by Commit Bot

Remove useless std::move for const ref param in Widget::InitParams

Change-Id: Ic0993d3a42ff1a527bd19a948dc034d2691ec30e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2057268Reviewed-by: default avatarAhmed Fakhry <afakhry@chromium.org>
Reviewed-by: default avatarTrent Apted <tapted@chromium.org>
Commit-Queue: Trent Apted <tapted@chromium.org>
Cr-Commit-Position: refs/heads/master@{#742923}
parent 616afe33
......@@ -480,7 +480,7 @@ void DesktopNativeWidgetAura::InitNativeWidget(Widget::InitParams params) {
}
host_.reset(desktop_window_tree_host_->AsWindowTreeHost());
}
desktop_window_tree_host_->Init(std::move(params));
desktop_window_tree_host_->Init(params);
host_->window()->AddChild(content_window_);
host_->window()->SetProperty(kDesktopNativeWidgetAuraKey, this);
......
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