convert //mash to std::unique_ptr
BUG=554298
Review URL: https://codereview.chromium.org/1857623003
Cr-Commit-Position: refs/heads/master@{#384948}
diff --git a/mash/wm/window_manager.cc b/mash/wm/window_manager.cc
index 5bcd15e..fcaaea2 100644
--- a/mash/wm/window_manager.cc
+++ b/mash/wm/window_manager.cc
@@ -5,6 +5,7 @@
#include "mash/wm/window_manager.h"
#include <stdint.h>
+
#include <utility>
#include "components/mus/common/types.h"
@@ -146,7 +147,7 @@
bool WindowManager::OnWmSetProperty(
mus::Window* window,
const std::string& name,
- scoped_ptr<std::vector<uint8_t>>* new_data) {
+ std::unique_ptr<std::vector<uint8_t>>* new_data) {
// TODO(sky): constrain this to set of keys we know about, and allowed
// values.
return name == mus::mojom::WindowManager::kShowState_Property ||