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

Unified Diff: cc/trees/surface_sequence_generator.h

Issue 2382873002: Replace usage of SurfaceId's client_id with FrameSinkId (Closed)
Patch Set: Rebased Created 4 years, 2 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/layer_tree_host_in_process.cc ('k') | cc/trees/surface_sequence_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/surface_sequence_generator.h
diff --git a/cc/trees/surface_sequence_generator.h b/cc/trees/surface_sequence_generator.h
index 10b880ad5fb84d3ac2143b1e54a60abe1aa8446f..298fd78ba9510011dad5b8b00be6f08420e43515 100644
--- a/cc/trees/surface_sequence_generator.h
+++ b/cc/trees/surface_sequence_generator.h
@@ -7,9 +7,13 @@
#include <stdint.h>
+#include <tuple>
+
#include "base/macros.h"
#include "cc/base/cc_export.h"
+#include "cc/surfaces/frame_sink_id.h"
+
namespace cc {
struct SurfaceSequence;
@@ -19,14 +23,14 @@ class CC_EXPORT SurfaceSequenceGenerator {
SurfaceSequenceGenerator();
~SurfaceSequenceGenerator();
- void set_surface_client_id(uint32_t client_id) {
- surface_client_id_ = client_id;
+ void set_frame_sink_id(const FrameSinkId& frame_sink_id) {
+ frame_sink_id_ = frame_sink_id;
}
SurfaceSequence CreateSurfaceSequence();
private:
- uint32_t surface_client_id_;
+ FrameSinkId frame_sink_id_;
uint32_t next_surface_sequence_;
DISALLOW_COPY_AND_ASSIGN(SurfaceSequenceGenerator);
« no previous file with comments | « cc/trees/layer_tree_host_in_process.cc ('k') | cc/trees/surface_sequence_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698