Commit bffc6249 authored by Bence Béky's avatar Bence Béky Committed by Commit Bot

Fix comment.

This CL lands part of internal change 201519764.  The rest of that
change has been merged in https://crrev.com/c/1121700 (reviewed at
https://crrev.com/c/1121285).

Bug: 488484
Change-Id: I78b225c43af626eb7c6e3054b85e44018387b8cb
Reviewed-on: https://chromium-review.googlesource.com/1146664
Commit-Queue: Yang Song <yasong@chromium.org>
Reviewed-by: default avatarYang Song <yasong@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577927}
parent 53eb1285
...@@ -250,8 +250,7 @@ class PriorityWriteScheduler : public WriteScheduler<StreamIdType> { ...@@ -250,8 +250,7 @@ class PriorityWriteScheduler : public WriteScheduler<StreamIdType> {
// Returns the number of ready streams. // Returns the number of ready streams.
size_t NumReadyStreams() const override { return num_ready_streams_; } size_t NumReadyStreams() const override { return num_ready_streams_; }
// This function is used for debugging and test only. Returns true if a stream // Returns true if a stream is ready.
// is ready.
bool IsStreamReady(StreamIdType stream_id) const { bool IsStreamReady(StreamIdType stream_id) const {
auto it = stream_infos_.find(stream_id); auto it = stream_infos_.find(stream_id);
if (it == stream_infos_.end()) { if (it == stream_infos_.end()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment