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

Unified Diff: ui/aura/test/aura_test_helper.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/test/aura_test_helper.cc
diff --git a/ui/aura/test/aura_test_helper.cc b/ui/aura/test/aura_test_helper.cc
index 6881b1d35bd9c9bbe725d2ec895c7f86c72d77a6..924d08de99f7fc9407c10f07de74955fa81cdeb9 100644
--- a/ui/aura/test/aura_test_helper.cc
+++ b/ui/aura/test/aura_test_helper.cc
@@ -122,7 +122,7 @@ void AuraTestHelper::SetUp(ui::ContextFactory* context_factory) {
root_window()->Show();
// Ensure width != height so tests won't confuse them.
- host()->SetBounds(gfx::Rect(host_size));
+ host()->SetBoundsInPixel(gfx::Rect(host_size));
if (mode_ == Mode::MUS_CREATE_WINDOW_TREE_CLIENT)
window_tree()->AckAllChanges();

Powered by Google App Engine
This is Rietveld 408576698