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

Unified Diff: net/spdy/buffered_spdy_framer_spdy3_unittest.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_spdy2_unittest.cc ('k') | net/spdy/spdy_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/buffered_spdy_framer_spdy3_unittest.cc
diff --git a/net/spdy/buffered_spdy_framer_spdy3_unittest.cc b/net/spdy/buffered_spdy_framer_spdy3_unittest.cc
index 08b15be76399515bf41fd3cef5dfbfa58dc1c006..ca1187382d708373c4f977a91d7b789beca9445c 100644
--- a/net/spdy/buffered_spdy_framer_spdy3_unittest.cc
+++ b/net/spdy/buffered_spdy_framer_spdy3_unittest.cc
@@ -43,29 +43,29 @@ class TestBufferedSpdyVisitor : public BufferedSpdyFramerVisitorInterface {
uint8 credential_slot,
bool fin,
bool unidirectional,
- const linked_ptr<SpdyHeaderBlock>& headers) {
+ const SpdyHeaderBlock& headers) {
header_stream_id_ = stream_id;
EXPECT_NE(header_stream_id_, SpdyFramer::kInvalidStream);
syn_frame_count_++;
- headers_ = *headers;
+ headers_ = headers;
}
void OnSynReply(SpdyStreamId stream_id,
bool fin,
- const linked_ptr<SpdyHeaderBlock>& headers) {
+ const SpdyHeaderBlock& headers) {
header_stream_id_ = stream_id;
EXPECT_NE(header_stream_id_, SpdyFramer::kInvalidStream);
syn_reply_frame_count_++;
- headers_ = *headers;
+ headers_ = headers;
}
void OnHeaders(SpdyStreamId stream_id,
bool fin,
- const linked_ptr<SpdyHeaderBlock>& headers) {
+ const SpdyHeaderBlock& headers) {
header_stream_id_ = stream_id;
EXPECT_NE(header_stream_id_, SpdyFramer::kInvalidStream);
headers_frame_count_++;
- headers_ = *headers;
+ headers_ = headers;
}
void OnStreamFrameData(SpdyStreamId stream_id,
« no previous file with comments | « net/spdy/buffered_spdy_framer_spdy2_unittest.cc ('k') | net/spdy/spdy_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698