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); |
}; |