Fix a chromium compile error where local variable shadows member variable. gfe-relnote: n/a (local variable renaming) PiperOrigin-RevId: 261309623 Change-Id: If77d2e9f3bf78d4014ab21ee9fd761c29fd1dc15
diff --git a/spdy/core/http2_priority_write_scheduler.h b/spdy/core/http2_priority_write_scheduler.h index f64d92b..c46f6af 100644 --- a/spdy/core/http2_priority_write_scheduler.h +++ b/spdy/core/http2_priority_write_scheduler.h
@@ -113,9 +113,8 @@ // Returns true if this stream is ancestor of |other|. bool IsAncestorOf(const StreamInfo& other) const { - for (const StreamInfo* parent = other.parent; parent != nullptr; - parent = parent->parent) { - if (parent == this) { + for (const StreamInfo* p = other.parent; p != nullptr; p = p->parent) { + if (p == this) { return true; } }