| Index: net/spdy/spdy_pinnable_buffer_piece.h
|
| diff --git a/net/spdy/spdy_pinnable_buffer_piece.h b/net/spdy/spdy_pinnable_buffer_piece.h
|
| index 6ffc2639f714cacff92f75c561bfbceadcea1eb1..14e6fe862ce13363746c819d23a6a78e3b614f96 100644
|
| --- a/net/spdy/spdy_pinnable_buffer_piece.h
|
| +++ b/net/spdy/spdy_pinnable_buffer_piece.h
|
| @@ -24,13 +24,9 @@ struct NET_EXPORT_PRIVATE SpdyPinnableBufferPiece {
|
| SpdyPinnableBufferPiece();
|
| ~SpdyPinnableBufferPiece();
|
|
|
| - const char * buffer() const {
|
| - return buffer_;
|
| - }
|
| + const char* buffer() const { return buffer_; }
|
|
|
| - size_t length() const {
|
| - return length_;
|
| - }
|
| + size_t length() const { return length_; }
|
|
|
| operator base::StringPiece() const {
|
| return base::StringPiece(buffer_, length_);
|
| @@ -39,9 +35,7 @@ struct NET_EXPORT_PRIVATE SpdyPinnableBufferPiece {
|
| // Allocates and copies the buffer to internal storage.
|
| void Pin();
|
|
|
| - bool IsPinned() const {
|
| - return storage_.get() != NULL;
|
| - }
|
| + bool IsPinned() const { return storage_.get() != NULL; }
|
|
|
| // Swaps buffers, including internal storage, with |other|.
|
| void Swap(SpdyPinnableBufferPiece* other);
|
| @@ -49,7 +43,7 @@ struct NET_EXPORT_PRIVATE SpdyPinnableBufferPiece {
|
| private:
|
| friend class SpdyPrefixedBufferReader;
|
|
|
| - const char * buffer_;
|
| + const char* buffer_;
|
| size_t length_;
|
| // Null iff |buffer_| isn't pinned.
|
| scoped_ptr<char[]> storage_;
|
|
|