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

Unified Diff: ui/compositor/test/context_factories_for_test.cc

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows Created 4 years, 3 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/compositor/compositor.cc ('k') | ui/compositor/test/in_process_context_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/context_factories_for_test.cc
diff --git a/ui/compositor/test/context_factories_for_test.cc b/ui/compositor/test/context_factories_for_test.cc
index 174f34160cb093c5a16f126fb26613c2fa9797dd..9b50e8ae3277ca0e3d70735ec9eb9aced56552a1 100644
--- a/ui/compositor/test/context_factories_for_test.cc
+++ b/ui/compositor/test/context_factories_for_test.cc
@@ -32,7 +32,7 @@ ui::ContextFactory* InitializeContextFactoryForTests(bool enable_pixel_output) {
if (enable_pixel_output)
g_disable_null_draw = new gl::DisableNullDrawGLBindings;
bool context_factory_for_test = true;
- g_surface_manager = new cc::SurfaceManager;
+ g_surface_manager = new cc::SurfaceManager(nullptr);
g_implicit_factory =
new InProcessContextFactory(context_factory_for_test, g_surface_manager);
return g_implicit_factory;
« no previous file with comments | « ui/compositor/compositor.cc ('k') | ui/compositor/test/in_process_context_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698