Fix static initializers in remoting::ProtobufHttpStatus.
- Change ProtobufHttpStatus::OK, a static instance of ProtobufHttpStatus initialized at runtime, to OK(). Internally, OK() will create the instance on first use. - Remove ProtobufHttpStatus::CANCELLED, which is only used in test code. Bug: 537099 Change-Id: Icc7d2865e9721157cff3c5f477f4a418ab1a1b20 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2437734 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by:Yuwei Huang <yuweih@chromium.org> Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#812039}
Showing
Please register or sign in to comment