| Index: chrome/browser/ui/views/constrained_window_views.cc
|
| diff --git a/chrome/browser/ui/views/constrained_window_views.cc b/chrome/browser/ui/views/constrained_window_views.cc
|
| index 120e194fc5938311baf68e2c0a176aa15378b17c..def6fe104233e66a783a8c743115bb13e9faca56 100644
|
| --- a/chrome/browser/ui/views/constrained_window_views.cc
|
| +++ b/chrome/browser/ui/views/constrained_window_views.cc
|
| @@ -41,7 +41,6 @@
|
| #include "ui/views/window/client_view.h"
|
| #include "ui/views/window/dialog_client_view.h"
|
| #include "ui/views/window/dialog_delegate.h"
|
| -#include "ui/views/window/dialog_frame_view.h"
|
| #include "ui/views/window/frame_background.h"
|
| #include "ui/views/window/non_client_view.h"
|
| #include "ui/views/window/window_resources.h"
|
| @@ -635,7 +634,7 @@ gfx::NativeWindow ConstrainedWindowViews::GetNativeWindow() {
|
|
|
| views::NonClientFrameView* ConstrainedWindowViews::CreateNonClientFrameView() {
|
| if (views::DialogDelegate::UseNewStyle())
|
| - return new views::DialogFrameView(widget_delegate()->GetWindowTitle());
|
| + return views::DialogDelegate::CreateNewStyleFrameView(this);
|
| #if defined(USE_ASH)
|
| ConstrainedWindowFrameViewAsh* frame = new ConstrainedWindowFrameViewAsh;
|
| frame->Init(this);
|
|
|