Chromium Code Reviews| Index: cc/surfaces/surface_id.h |
| diff --git a/cc/surfaces/surface_id.h b/cc/surfaces/surface_id.h |
| index 5be370ed3fb427249f2ec9b6428bb37984eedbce..79a9ced6cc5d7425ecf093eea8104fdcd6f71fe4 100644 |
| --- a/cc/surfaces/surface_id.h |
| +++ b/cc/surfaces/surface_id.h |
| @@ -26,17 +26,13 @@ class SurfaceId { |
| : frame_sink_id_(other.frame_sink_id_), |
| local_frame_id_(other.local_frame_id_) {} |
| - // A SurfaceId consists of three components: FrameSinkId, local Id, and nonce. |
| + // A SurfaceId consists of two components: FrameSinkId and local_frame_id. |
|
Fady Samuel
2016/11/09 21:41:57
nit: FrameSinkId and LocalFrameId.
Alex Z.
2016/11/09 22:05:21
Done.
|
| // A |frame_sink_id| consists of two components; one is allocated by the |
| // display compositor service and one is allocated by the client. The |
| // |frame_sink_id| uniquely identifies a FrameSink (and frame source). |
| - // A |local_id| is a sequentially allocated ID generated by the frame source |
| - // that uniquely identifies a sequential set of frames of the same size and |
| - // device scale factor. |
| - // A |nonce| is a cryptographically secure unguessable token that makes it |
| - // impossible for an unprivileged frame source to embed another frame source |
| - // without being explicitly given the surface ID of that frame source from a |
| - // privileged process. |
| + // A |local_frame_id| is a sequentially allocated ID generated by the frame |
| + // source that uniquely identifies a sequential set of frames of the same size |
| + // and device scale factor. |
| SurfaceId(const FrameSinkId& frame_sink_id, |
| const LocalFrameId& local_frame_id) |
| : frame_sink_id_(frame_sink_id), local_frame_id_(local_frame_id) {} |