| Index: ui/views/widget/desktop_aura/desktop_window_tree_host.h
|
| diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host.h b/ui/views/widget/desktop_aura/desktop_window_tree_host.h
|
| index f12a2318fc7d45962f1ab024603603dfd80e015a..17c38520e74a509e57242613c00197d295f3b618 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_window_tree_host.h
|
| +++ b/ui/views/widget/desktop_aura/desktop_window_tree_host.h
|
| @@ -19,7 +19,7 @@ class Window;
|
| namespace client {
|
| class DragDropClient;
|
| }
|
| -}
|
| +} // namespace aura
|
|
|
| namespace gfx {
|
| class ImageSkia;
|
| @@ -95,8 +95,8 @@ class VIEWS_EXPORT DesktopWindowTreeHost {
|
| virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0;
|
|
|
| // Sets the shape of the root window. If |native_region| is NULL then the
|
| - // window reverts to rectangular. Takes ownership of |native_region|.
|
| - virtual void SetShape(SkRegion* native_region) = 0;
|
| + // window reverts to rectangular.
|
| + virtual void SetShape(std::unique_ptr<SkRegion> native_region) = 0;
|
|
|
| virtual void Activate() = 0;
|
| virtual void Deactivate() = 0;
|
|
|