Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1111)

Unified Diff: net/spdy/spdy_buffer.cc

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/unix_domain_client_socket_posix.cc ('k') | net/spdy/spdy_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_buffer.cc
diff --git a/net/spdy/spdy_buffer.cc b/net/spdy/spdy_buffer.cc
index c1a602e1e0ec3559aed3d1c4619ac673f53f8768..f7cd3786e2b54695da71c67da8f6ea3b1d88ccc7 100644
--- a/net/spdy/spdy_buffer.cc
+++ b/net/spdy/spdy_buffer.cc
@@ -41,8 +41,7 @@ class SpdyBuffer::SharedFrameIOBuffer : public IOBuffer {
SharedFrameIOBuffer(const scoped_refptr<SharedFrame>& shared_frame,
size_t offset)
: IOBuffer(shared_frame->data->data() + offset),
- shared_frame_(shared_frame),
- offset_(offset) {}
+ shared_frame_(shared_frame) {}
private:
~SharedFrameIOBuffer() override {
@@ -51,7 +50,6 @@ class SpdyBuffer::SharedFrameIOBuffer : public IOBuffer {
}
const scoped_refptr<SharedFrame> shared_frame_;
- const size_t offset_;
DISALLOW_COPY_AND_ASSIGN(SharedFrameIOBuffer);
};
« no previous file with comments | « net/socket/unix_domain_client_socket_posix.cc ('k') | net/spdy/spdy_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698