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

Unified Diff: ash/host/transformer_helper.cc

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (Closed)
Patch Set: 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
Index: ash/host/transformer_helper.cc
diff --git a/ash/host/transformer_helper.cc b/ash/host/transformer_helper.cc
index ce7c90d897d89a331a96787d8b29cd6f4fac3e41..5808de150d72de8b97bab38d0593654c702d7355 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->UpdateRootWindowSizeInPixel(host->GetBounds().size());
}
gfx::Transform TransformerHelper::GetTransform() const {

Powered by Google App Engine
This is Rietveld 408576698