| Index: chrome/browser/ui/views/native_constrained_window_win.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/native_constrained_window_win.cc (revision 85284)
|
| +++ chrome/browser/ui/views/native_constrained_window_win.cc (working copy)
|
| @@ -16,7 +16,8 @@
|
| public views::WindowWin {
|
| public:
|
| explicit NativeConstrainedWindowWin(NativeConstrainedWindowDelegate* delegate)
|
| - : delegate_(delegate) {
|
| + : views::WindowWin(delegate->AsNativeWindowDelegate()),
|
| + delegate_(delegate) {
|
| }
|
|
|
| virtual ~NativeConstrainedWindowWin() {
|
| @@ -41,11 +42,6 @@
|
| return WindowWin::OnMouseActivate(message, w_param, l_param);
|
| }
|
|
|
| - // Overridden from views::Window:
|
| - virtual views::NonClientFrameView* CreateFrameViewForWindow() OVERRIDE {
|
| - return delegate_->CreateFrameViewForWindow();
|
| - }
|
| -
|
| NativeConstrainedWindowDelegate* delegate_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(NativeConstrainedWindowWin);
|
|
|