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

Unified Diff: net/spdy/spdy_framer.h

Issue 267063006: Allocate HpackDecoder/Encoder only for SpdyFramer > SPDY3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | net/spdy/spdy_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_framer.h
diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
index 2da3b7ed5ceb2be14df34bf617195ab3cdd44a60..9c1bfaea7bfa77f0c65b24cd7dec50e3c236bc1f 100644
--- a/net/spdy/spdy_framer.h
+++ b/net/spdy/spdy_framer.h
@@ -701,8 +701,8 @@ class NET_EXPORT_PRIVATE SpdyFramer {
scoped_ptr<z_stream> header_compressor_;
scoped_ptr<z_stream> header_decompressor_;
- HpackEncoder hpack_encoder_;
- HpackDecoder hpack_decoder_;
+ scoped_ptr<HpackEncoder> hpack_encoder_;
+ scoped_ptr<HpackDecoder> hpack_decoder_;
SpdyFramerVisitorInterface* visitor_;
SpdyFramerDebugVisitorInterface* debug_visitor_;
« no previous file with comments | « no previous file | net/spdy/spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698