| Index: ui/views/widget/widget.h
|
| diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
|
| index 4e1617fde7a3e360bd48b065c4b9e152cb409eeb..a92dbce7282d83e4dd9e6552c5be1468a6d444c3 100644
|
| --- a/ui/views/widget/widget.h
|
| +++ b/ui/views/widget/widget.h
|
| @@ -8,7 +8,6 @@
|
| #include <map>
|
| #include <memory>
|
| #include <set>
|
| -#include <stack>
|
| #include <string>
|
| #include <vector>
|
|
|
| @@ -59,7 +58,7 @@ class NativeTheme;
|
| class OSExchangeData;
|
| class ThemeProvider;
|
| class Window;
|
| -}
|
| +} // namespace ui
|
|
|
| namespace views {
|
|
|
| @@ -476,8 +475,8 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
|
| void StackBelow(gfx::NativeView native_view);
|
|
|
| // Sets a shape on the widget. Passing a NULL |shape| reverts the widget to
|
| - // be rectangular. Takes ownership of |shape|.
|
| - void SetShape(SkRegion* shape);
|
| + // be rectangular.
|
| + void SetShape(std::unique_ptr<SkRegion> shape);
|
|
|
| // Hides the widget then closes it after a return to the message loop.
|
| virtual void Close();
|
|
|