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

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

Issue 2691363002: Centralize FrameSinkId allocation in one place (Closed)
Patch Set: explicit Created 3 years, 10 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
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 72924b66e63df6084f63884206662727338ad9af..9d40c12143c34b409d14d4844bac20e369c0d1cc 100644
--- a/ui/compositor/test/in_process_context_factory.h
+++ b/ui/compositor/test/in_process_context_factory.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "cc/surfaces/display.h"
+#include "cc/surfaces/frame_sink_id_allocator.h"
#include "cc/test/test_gpu_memory_buffer_manager.h"
#include "cc/test/test_image_factory.h"
#include "cc/test/test_shared_bitmap_manager.h"
@@ -84,7 +85,7 @@ class InProcessContextFactory : public ContextFactory,
cc::TestGpuMemoryBufferManager gpu_memory_buffer_manager_;
cc::TestImageFactory image_factory_;
cc::TestTaskGraphRunner task_graph_runner_;
- uint32_t next_surface_sink_id_;
+ cc::FrameSinkIdAllocator frame_sink_id_allocator_;
bool use_test_surface_;
bool context_factory_for_test_;
cc::SurfaceManager* surface_manager_;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | ui/compositor/test/in_process_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698