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

Unified Diff: ui/compositor/test/in_process_context_factory.h

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 | « ui/compositor/test/draw_waiter_for_test.cc ('k') | ui/compositor/test/in_process_context_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/in_process_context_factory.h
diff --git a/ui/compositor/test/in_process_context_factory.h b/ui/compositor/test/in_process_context_factory.h
index 7ac9f92c208ea4e9e91a32a8b68dfda3126ffa49..55642ca41049509ffabc57a317a9e5d1ae32dc29 100644
--- a/ui/compositor/test/in_process_context_factory.h
+++ b/ui/compositor/test/in_process_context_factory.h
@@ -17,7 +17,7 @@ namespace ui {
class InProcessContextFactory : public ContextFactory {
public:
- InProcessContextFactory();
+ explicit InProcessContextFactory(bool context_factory_for_test);
~InProcessContextFactory() override;
// If true (the default) an OutputSurface is created that does not display
@@ -52,6 +52,8 @@ class InProcessContextFactory : public ContextFactory {
uint32_t next_surface_id_namespace_;
bool use_test_surface_;
+ const bool context_factory_for_test_;
+
DISALLOW_COPY_AND_ASSIGN(InProcessContextFactory);
};
« no previous file with comments | « ui/compositor/test/draw_waiter_for_test.cc ('k') | ui/compositor/test/in_process_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698