| Index: components/mus/public/cpp/window_manager_delegate.h
|
| diff --git a/components/mus/public/cpp/window_manager_delegate.h b/components/mus/public/cpp/window_manager_delegate.h
|
| index 42cc651e644535177f18257772f834eeacc1b867..11b262c0957901a635c15f2d8e87cc3106315f8f 100644
|
| --- a/components/mus/public/cpp/window_manager_delegate.h
|
| +++ b/components/mus/public/cpp/window_manager_delegate.h
|
| @@ -8,10 +8,10 @@
|
| #include <stdint.h>
|
|
|
| #include <map>
|
| +#include <memory>
|
| #include <vector>
|
|
|
| #include "base/callback_forward.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "components/mus/public/interfaces/input_event_matcher.mojom.h"
|
| #include "components/mus/public/interfaces/input_events.mojom.h"
|
| #include "components/mus/public/interfaces/window_manager_constants.mojom.h"
|
| @@ -72,9 +72,10 @@ class WindowManagerDelegate {
|
| // A client requested the shared property named |name| to change to
|
| // |new_data|. Return true to allow the change to |new_data|, false
|
| // otherwise.
|
| - virtual bool OnWmSetProperty(Window* window,
|
| - const std::string& name,
|
| - scoped_ptr<std::vector<uint8_t>>* new_data) = 0;
|
| + virtual bool OnWmSetProperty(
|
| + Window* window,
|
| + const std::string& name,
|
| + std::unique_ptr<std::vector<uint8_t>>* new_data) = 0;
|
|
|
| // A client has requested a new top level window. The delegate should create
|
| // and parent the window appropriately and return it. |properties| is the
|
|
|