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

Unified Diff: ash/common/wm/dock/docked_window_layout_manager.cc

Issue 2051343002: Make various gfx classes more amenable to use as compile-time constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile and test fixes Created 4 years, 6 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 | « no previous file | ash/magnifier/magnification_controller.cc » ('j') | cc/trees/occlusion_tracker_perftest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/dock/docked_window_layout_manager.cc
diff --git a/ash/common/wm/dock/docked_window_layout_manager.cc b/ash/common/wm/dock/docked_window_layout_manager.cc
index 56825c25be9b79ae115df8bfbb47804472b533f9..80a97ede1a476954be72d7ace2d559feda3354a2 100644
--- a/ash/common/wm/dock/docked_window_layout_manager.cc
+++ b/ash/common/wm/dock/docked_window_layout_manager.cc
@@ -1053,7 +1053,6 @@ void DockedWindowLayoutManager::Relayout() {
return;
base::AutoReset<bool> auto_reset_in_layout(&in_layout_, true);
- gfx::Rect dock_bounds = dock_container_->GetBoundsInScreen();
WmWindow* active_window = nullptr;
std::vector<WindowWithHeight> visible_windows;
for (WmWindow* window : dock_container_->GetChildren()) {
« no previous file with comments | « no previous file | ash/magnifier/magnification_controller.cc » ('j') | cc/trees/occlusion_tracker_perftest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698