| Index: net/spdy/spdy_protocol.h
|
| diff --git a/net/spdy/spdy_protocol.h b/net/spdy/spdy_protocol.h
|
| index 2777ad1e02e9f68fb4e2557d2376cda0495641a8..ff492e293e8a77e110363d7ac9fdda899debdf32 100644
|
| --- a/net/spdy/spdy_protocol.h
|
| +++ b/net/spdy/spdy_protocol.h
|
| @@ -718,9 +718,9 @@ class NET_EXPORT_PRIVATE SpdyFrameWithHeaderBlockIR
|
| ~SpdyFrameWithHeaderBlockIR() override;
|
|
|
| const SpdyHeaderBlock& header_block() const { return header_block_; }
|
| - void set_header_block(const SpdyHeaderBlock& header_block) {
|
| + void set_header_block(SpdyHeaderBlock header_block) {
|
| // Deep copy.
|
| - header_block_ = header_block;
|
| + header_block_ = std::move(header_block);
|
| }
|
| void SetHeader(base::StringPiece name, base::StringPiece value) {
|
| header_block_[name] = value;
|
|
|