refactor: remove unnecessary std::moves in linux code (#12951)
The compiler was complaining that the move was preventing copy elision.
This commit is contained in:
parent
8fa48d1c04
commit
73eb5af2cc
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ SubmenuButton::SubmenuButton(const base::string16& title,
|
|||
background_color_(background_color) {
|
||||
#if defined(OS_LINUX)
|
||||
// Dont' use native style border.
|
||||
SetBorder(std::move(CreateDefaultBorder()));
|
||||
SetBorder(CreateDefaultBorder());
|
||||
#endif
|
||||
|
||||
if (GetUnderlinePosition(title, &accelerator_, &underline_start_,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue