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

Unified Diff: ui/aura/test/aura_test_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 | « ui/aura/mus/window_tree_host_mus.cc ('k') | ui/aura/window_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2fdddc08c29f94649685cdf5cfe27e38977888d9 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()->SetBoundsInPixels(gfx::Rect(host_size));
if (mode_ == Mode::MUS_CREATE_WINDOW_TREE_CLIENT)
window_tree()->AckAllChanges();
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.cc ('k') | ui/aura/window_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698