Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9173)

Unified Diff: chrome/browser/ui/views/frame/app_non_client_frame_view_ash.cc

Issue 24048003: [Refactor] Cache the views::Widget* that the FrameMaximizeButton acts on (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits per jamescook@ Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/app_non_client_frame_view_ash.cc
diff --git a/chrome/browser/ui/views/frame/app_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/app_non_client_frame_view_ash.cc
index b179f68f0d93bd341ad748b468f715c474d8adb3..89f4dabf4f07605c3e9dafbcc65b3f8b06a90f19 100644
--- a/chrome/browser/ui/views/frame/app_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/frame/app_non_client_frame_view_ash.cc
@@ -119,7 +119,7 @@ AppNonClientFrameViewAsh::AppNonClientFrameViewAsh(
control_view_(NULL),
control_widget_(NULL),
frame_observer_(new FrameObserver(this)) {
- control_view_ = new ash::FrameCaptionButtonContainerView(this, frame,
+ control_view_ = new ash::FrameCaptionButtonContainerView(frame,
ash::FrameCaptionButtonContainerView::MINIMIZE_ALLOWED);
control_view_->set_header_style(
ash::FrameCaptionButtonContainerView::HEADER_STYLE_MAXIMIZED_HOSTED_APP);
« no previous file with comments | « ash/wm/panels/panel_frame_view.cc ('k') | chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698