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

Unified Diff: cc/trees/surface_sequence_generator.cc

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/surface_sequence_generator.h ('k') | cc/trees/surface_sequence_generator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/surface_sequence_generator.cc
diff --git a/cc/trees/surface_sequence_generator.cc b/cc/trees/surface_sequence_generator.cc
index f2196892519bbe57661b6c78fed8570fcd2d8215..83e9a62fa1b75d395c08e1f612b9e0aac198be4b 100644
--- a/cc/trees/surface_sequence_generator.cc
+++ b/cc/trees/surface_sequence_generator.cc
@@ -8,12 +8,12 @@
namespace cc {
SurfaceSequenceGenerator::SurfaceSequenceGenerator()
- : surface_client_id_(0u), next_surface_sequence_(1u) {}
+ : next_surface_sequence_(1u) {}
SurfaceSequenceGenerator::~SurfaceSequenceGenerator() = default;
SurfaceSequence SurfaceSequenceGenerator::CreateSurfaceSequence() {
- return SurfaceSequence(surface_client_id_, next_surface_sequence_++);
+ return SurfaceSequence(frame_sink_id_, next_surface_sequence_++);
}
} // namespace cc
« no previous file with comments | « cc/trees/surface_sequence_generator.h ('k') | cc/trees/surface_sequence_generator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698