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

Unified Diff: ash/wm/workspace/workspace_manager.cc

Issue 9513004: Switch default WM mode to managed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comments Created 8 years, 10 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/root_window_event_filter_unittest.cc ('k') | chrome/browser/extensions/extension_tabs_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_manager.cc
diff --git a/ash/wm/workspace/workspace_manager.cc b/ash/wm/workspace/workspace_manager.cc
index 5f248fbe624da1a3e4682fd3e5f04b52b25cd8b8..acff59619d75b5fe43e654a92b57798f17da60c3 100644
--- a/ash/wm/workspace/workspace_manager.cc
+++ b/ash/wm/workspace/workspace_manager.cc
@@ -343,7 +343,7 @@ void WorkspaceManager::SetWindowBoundsFromRestoreBounds(aura::Window* window) {
bounds = restore->AdjustToFit(GetWorkAreaBounds());
else
bounds = window->bounds().AdjustToFit(GetWorkAreaBounds());
- SetWindowBounds(window, AlignRectToGrid(bounds, grid_size_));
+ SetWindowBounds(window, bounds);
ash::ClearRestoreBounds(window);
}
« no previous file with comments | « ash/wm/root_window_event_filter_unittest.cc ('k') | chrome/browser/extensions/extension_tabs_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698