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

Unified Diff: ash/wm/drag_details.cc

Issue 144713003: [Refactor] Kill some dead code because it is no longer possible to drag maximized windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
« no previous file with comments | « ash/wm/drag_details.h ('k') | ash/wm/window_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/drag_details.cc
diff --git a/ash/wm/drag_details.cc b/ash/wm/drag_details.cc
index 5fa6d0a194edbd059335d7187633b899fa811a7a..28baeabc5a4ad117e7f5ea53c3281ebb8aefb011 100644
--- a/ash/wm/drag_details.cc
+++ b/ash/wm/drag_details.cc
@@ -59,8 +59,7 @@ DragDetails::DragDetails(aura::Window* window,
is_resizable(bounds_change != WindowResizer::kBoundsChangeDirection_None),
source(source),
should_attach_to_shelf(window->type() == ui::wm::WINDOW_TYPE_PANEL &&
- wm::GetWindowState(window)->panel_attached()),
- window_resizer(NULL) {
+ wm::GetWindowState(window)->panel_attached()) {
wm::WindowState* window_state = wm::GetWindowState(window);
if (window_state->IsNormalShowState() &&
window_state->HasRestoreBounds() &&
« no previous file with comments | « ash/wm/drag_details.h ('k') | ash/wm/window_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698