| Index: cc/surfaces/frame_sink_id.h
|
| diff --git a/cc/surfaces/frame_sink_id.h b/cc/surfaces/frame_sink_id.h
|
| index b8f3675fd21f3ea4eba08eea2843affc876c035a..d65c8de8d474d20a2f6dafd5577dc17381feffe1 100644
|
| --- a/cc/surfaces/frame_sink_id.h
|
| +++ b/cc/surfaces/frame_sink_id.h
|
| @@ -23,7 +23,7 @@ class FrameSinkId {
|
| constexpr FrameSinkId(uint32_t client_id, uint32_t sink_id)
|
| : client_id_(client_id), sink_id_(sink_id) {}
|
|
|
| - constexpr bool is_null() const { return client_id_ == 0 && sink_id_ == 0; }
|
| + constexpr bool is_valid() const { return client_id_ != 0 || sink_id_ != 0; }
|
|
|
| constexpr uint32_t client_id() const { return client_id_; }
|
|
|
|
|