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

Unified Diff: ash/host/transformer_helper.cc

Issue 2524873002: Rename WindowTreeHost G|SetBounds to indicate they are in pixels. (Closed)
Patch Set: rebase Created 4 years, 1 month 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/host/ash_window_tree_host_x11.cc ('k') | ash/shell_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/transformer_helper.cc
diff --git a/ash/host/transformer_helper.cc b/ash/host/transformer_helper.cc
index ce7c90d897d89a331a96787d8b29cd6f4fac3e41..badb4f6d9374d563a52886cae525e7d12e31c6b1 100644
--- a/ash/host/transformer_helper.cc
+++ b/ash/host/transformer_helper.cc
@@ -87,7 +87,7 @@ void TransformerHelper::SetRootWindowTransformer(
// If the layer is not animating, then we need to update the root window
// size immediately.
if (!window->layer()->GetAnimator()->is_animating())
- host->UpdateRootWindowSize(host->GetBounds().size());
+ host->UpdateRootWindowSize(host->GetBoundsInPixels().size());
}
gfx::Transform TransformerHelper::GetTransform() const {
« no previous file with comments | « ash/host/ash_window_tree_host_x11.cc ('k') | ash/shell_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698