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

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

Issue 273073002: Changes code using Compositor to pass in ContextFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tooltip on chromeos Created 6 years, 7 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/test_screen.h ('k') | ui/aura/window_event_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/test_screen.cc
diff --git a/ui/aura/test/test_screen.cc b/ui/aura/test/test_screen.cc
index 425f58ebc6f9184cfe270ab3b59489f5a4100da0..ff559e81f740c3f90bb07ce36f30b43ec63edbf2 100644
--- a/ui/aura/test/test_screen.cc
+++ b/ui/aura/test/test_screen.cc
@@ -31,9 +31,11 @@ TestScreen* TestScreen::CreateFullscreen() {
TestScreen::~TestScreen() {
}
-WindowTreeHost* TestScreen::CreateHostForPrimaryDisplay() {
+WindowTreeHost* TestScreen::CreateHostForPrimaryDisplay(
+ ui::ContextFactory* context_factory) {
DCHECK(!host_);
- host_ = WindowTreeHost::Create(gfx::Rect(display_.GetSizeInPixel()));
+ host_ = WindowTreeHost::Create(gfx::Rect(display_.GetSizeInPixel()),
+ context_factory);
host_->window()->AddObserver(this);
host_->InitHost();
return host_;
« no previous file with comments | « ui/aura/test/test_screen.h ('k') | ui/aura/window_event_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698