| Index: ui/events/ozone/layout/keyboard_layout_engine_manager.cc
|
| diff --git a/ui/events/ozone/layout/keyboard_layout_engine_manager.cc b/ui/events/ozone/layout/keyboard_layout_engine_manager.cc
|
| index 7baf7a6b4dd17b6d7ae8bc2cb41b811d51064c4f..735aac19d93a72182ca24ca8c51a9d2a2c42d11f 100644
|
| --- a/ui/events/ozone/layout/keyboard_layout_engine_manager.cc
|
| +++ b/ui/events/ozone/layout/keyboard_layout_engine_manager.cc
|
| @@ -27,7 +27,7 @@ KeyboardLayoutEngineManager::~KeyboardLayoutEngineManager() {
|
| void KeyboardLayoutEngineManager::SetKeyboardLayoutEngine(
|
| std::unique_ptr<KeyboardLayoutEngine> engine) {
|
| if (instance_)
|
| - instance_->keyboard_layout_engine_.reset(engine.release());
|
| + instance_->keyboard_layout_engine_ = std::move(engine);
|
| else
|
| new KeyboardLayoutEngineManager(engine.release());
|
| }
|
|
|