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

Unified Diff: ui/aura/mus/window_tree_client.cc

Issue 2524873002: Rename WindowTreeHost G|SetBounds to indicate they are in pixels. (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: ui/aura/mus/window_tree_client.cc
diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
index eff5c9d1abd81ee49dc4eb1ad21a38655a68cea8..731534948b58963b53942b2ffefe9e5c4ad7362b 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -1507,7 +1507,7 @@ void WindowTreeClient::OnWindowTreeHostBoundsWillChange(
WindowTreeHostMus* window_tree_host,
const gfx::Rect& bounds) {
ScheduleInFlightBoundsChange(WindowMus::Get(window_tree_host->window()),
- window_tree_host->GetBounds(), bounds);
+ window_tree_host->GetBoundsInPixel(), bounds);
}
std::unique_ptr<WindowPortMus> WindowTreeClient::CreateWindowPortForTopLevel() {

Powered by Google App Engine
This is Rietveld 408576698