Index: content/browser/compositor/test/no_transport_image_transport_factory.cc |
diff --git a/content/browser/compositor/test/no_transport_image_transport_factory.cc b/content/browser/compositor/test/no_transport_image_transport_factory.cc |
index cdaa4e06c21e9a7f88101a0ea838b39a08332c76..e8a859a26adcfbddd9d700688cea0d0a3bc5fab4 100644 |
--- a/content/browser/compositor/test/no_transport_image_transport_factory.cc |
+++ b/content/browser/compositor/test/no_transport_image_transport_factory.cc |
@@ -14,7 +14,9 @@ |
namespace content { |
NoTransportImageTransportFactory::NoTransportImageTransportFactory() |
- : context_factory_(new ui::InProcessContextFactory), |
+ // The context factory created here is for unit tests, thus passing in true |
+ // in constructor. |
+ : context_factory_(new ui::InProcessContextFactory(true)), |
surface_manager_(new cc::SurfaceManager) { |
} |