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

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

Issue 2207043002: SetDeviceScaleFactorForTest Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SetDeviceScaleFactorForTest Created 4 years, 4 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 | « ui/aura/test/aura_test_helper.h ('k') | ui/aura/test/test_screen.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 9fe46c380b0871acda989563f7e61c5ed59765ab..1c7a85afcfbe91d3e7b85197420d6863436c0293 100644
--- a/ui/aura/test/aura_test_helper.cc
+++ b/ui/aura/test/aura_test_helper.cc
@@ -73,7 +73,7 @@ void AuraTestHelper::SetUp(ui::ContextFactory* context_factory) {
test_screen_.reset(TestScreen::Create(host_size));
if (!screen)
display::Screen::SetScreenInstance(test_screen_.get());
- host_.reset(test_screen_->CreateHostForPrimaryDisplay());
+ test_screen_->CreateHostForPrimaryDisplay();
focus_client_.reset(new TestFocusClient);
client::SetFocusClient(root_window(), focus_client_.get());
« no previous file with comments | « ui/aura/test/aura_test_helper.h ('k') | ui/aura/test/test_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698