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

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: do not set disable_hi_res_timer_tasks_on_battery when testing Created 6 years 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
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 6fd4eaa39f658b72faaffd233367363b866c61c1..8135088dcf4bae1ee4772c44f1ef46e2fb32c8e3 100644
--- a/ui/compositor/test/in_process_context_factory.h
+++ b/ui/compositor/test/in_process_context_factory.h
@@ -23,7 +23,7 @@ namespace ui {
class InProcessContextFactory : public ContextFactory {
public:
- InProcessContextFactory();
+ InProcessContextFactory(bool context_factory_for_test);
~InProcessContextFactory() override;
// If true (the default) an OutputSurface is created that does not display
@@ -59,6 +59,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);
};

Powered by Google App Engine
This is Rietveld 408576698