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

Unified Diff: net/spdy/buffered_spdy_framer.cc

Issue 10763011: Remove several usages of linked_ptr in spdy land. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/spdy/buffered_spdy_framer.h ('k') | net/spdy/buffered_spdy_framer_spdy2_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/buffered_spdy_framer.cc
diff --git a/net/spdy/buffered_spdy_framer.cc b/net/spdy/buffered_spdy_framer.cc
index 228e2b49f71f13ad67e1760ca7f7d61e8d13c022..097d0fea801e8e4688168c004d757bebdfe95e25 100644
--- a/net/spdy/buffered_spdy_framer.cc
+++ b/net/spdy/buffered_spdy_framer.cc
@@ -98,9 +98,9 @@ bool BufferedSpdyFramer::OnControlFrameHeaderData(SpdyStreamId stream_id,
// Indicates end-of-header-block.
CHECK(header_buffer_valid_);
- const linked_ptr<SpdyHeaderBlock> headers(new SpdyHeaderBlock);
+ SpdyHeaderBlock headers;
bool parsed_headers = spdy_framer_.ParseHeaderBlockInBuffer(
- header_buffer_, header_buffer_used_, headers.get());
+ header_buffer_, header_buffer_used_, &headers);
if (!parsed_headers) {
visitor_->OnStreamError(
stream_id, "Could not parse Spdy Control Frame Header.");
« no previous file with comments | « net/spdy/buffered_spdy_framer.h ('k') | net/spdy/buffered_spdy_framer_spdy2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698