Index: views/widget/widget_win.cc |
=================================================================== |
--- views/widget/widget_win.cc (revision 30814) |
+++ 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() { |