Chromium Code Reviews| Index: views/widget/widget_win.cc |
| =================================================================== |
| --- views/widget/widget_win.cc (revision 30929) |
| +++ views/widget/widget_win.cc (working copy) |
| @@ -144,8 +144,8 @@ |
| bounds.width(), bounds.height(), SWP_NOACTIVATE); |
| } |
| -void WidgetWin::SetShape(const gfx::Path& shape) { |
| - SetWindowRgn(shape.CreateHRGN(), TRUE); |
| +void WidgetWin::SetShape(gfx::NativeRegion region) { |
| + SetWindowRgn(region, TRUE); |
| } |
| void WidgetWin::Close() { |