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

Unified Diff: ui/views/widget/native_widget_aura_unittest.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
Index: ui/views/widget/native_widget_aura_unittest.cc
diff --git a/ui/views/widget/native_widget_aura_unittest.cc b/ui/views/widget/native_widget_aura_unittest.cc
index 2b6469a36d357b39a91e226663d32969d22ba5fc..989bbcb296ba9de77de5591f12d5a6248f97ced3 100644
--- a/ui/views/widget/native_widget_aura_unittest.cc
+++ b/ui/views/widget/native_widget_aura_unittest.cc
@@ -75,7 +75,7 @@ class NativeWidgetAuraTest : public aura::test::AuraTestBase {
test_focus_rules_ = new TestFocusRules;
focus_controller_.reset(new wm::FocusController(test_focus_rules_));
aura::client::SetActivationClient(root_window(), focus_controller_.get());
- host()->SetBounds(gfx::Rect(640, 480));
+ host()->SetBoundsInPixels(gfx::Rect(640, 480));
}
private:
« no previous file with comments | « ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc ('k') | ui/views/widget/widget_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698