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

Unified Diff: content/browser/compositor/test/no_transport_image_transport_factory.cc

Issue 638653003: Make ui::Compositor use ui::Scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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 | « cc/trees/single_thread_proxy.cc ('k') | ui/aura/bench/bench_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
}
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | ui/aura/bench/bench_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698