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

Unified Diff: trunk/src/ui/aura/test/aura_test_helper.cc

Issue 133003002: Revert 244005 "Remove SetHostSize/Bounds from RootWindow in favo..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 months 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 | « trunk/src/ui/aura/root_window.cc ('k') | trunk/src/ui/views/corewm/capture_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/aura/test/aura_test_helper.cc
===================================================================
--- trunk/src/ui/aura/test/aura_test_helper.cc (revision 244032)
+++ trunk/src/ui/aura/test/aura_test_helper.cc (working copy)
@@ -93,7 +93,7 @@
root_window()->Show();
// Ensure width != height so tests won't confuse them.
- dispatcher()->host()->SetBounds(gfx::Rect(800, 600));
+ dispatcher()->SetHostSize(gfx::Size(800, 600));
}
void AuraTestHelper::TearDown() {
« no previous file with comments | « trunk/src/ui/aura/root_window.cc ('k') | trunk/src/ui/views/corewm/capture_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698