Index: ash/wm/custom_frame_view_ash.cc |
diff --git a/ash/wm/custom_frame_view_ash.cc b/ash/wm/custom_frame_view_ash.cc |
index 103f4f8d6c01ff0693b30ecfba5a150895dcce35..3a74de4641527e2c210602222f2cca0844208ccb 100644 |
--- a/ash/wm/custom_frame_view_ash.cc |
+++ b/ash/wm/custom_frame_view_ash.cc |
@@ -5,6 +5,7 @@ |
#include "ash/wm/custom_frame_view_ash.h" |
#include "ash/wm/frame_painter.h" |
+#include "ash/wm/workspace/frame_maximize_button.h" |
#include "grit/ui_resources.h" |
#include "grit/ui_strings.h" // Accessibility names |
#include "ui/base/l10n/l10n_util.h" |
@@ -43,7 +44,7 @@ void CustomFrameViewAsh::Init(views::Widget* frame) { |
frame_ = frame; |
- maximize_button_ = new views::ImageButton(this); |
+ maximize_button_ = new FrameMaximizeButton(this); |
maximize_button_->SetAccessibleName( |
l10n_util::GetStringUTF16(IDS_APP_ACCNAME_MAXIMIZE)); |
AddChildView(maximize_button_); |