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

Unified Diff: net/tools/quic/quic_dispatcher_test.cc

Issue 2226643004: QuicSession no longer directly owns its QuicConnection. Not flag protected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@129226757
Patch Set: Created 4 years, 4 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/tools/quic/quic_client_session.h ('k') | net/tools/quic/quic_simple_server_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_dispatcher_test.cc
diff --git a/net/tools/quic/quic_dispatcher_test.cc b/net/tools/quic/quic_dispatcher_test.cc
index 967474df0d683b0f8a1e6a1294a13c3271cb60c4..032f660d60112579cc750b0c24bdd158c3cd80f1 100644
--- a/net/tools/quic/quic_dispatcher_test.cc
+++ b/net/tools/quic/quic_dispatcher_test.cc
@@ -61,7 +61,8 @@ class TestQuicSpdyServerSession : public QuicServerSessionBase {
crypto_config,
compressed_certs_cache),
crypto_stream_(QuicServerSessionBase::GetCryptoStream()) {}
- ~TestQuicSpdyServerSession() override{};
+
+ ~TestQuicSpdyServerSession() override { delete connection(); };
MOCK_METHOD3(OnConnectionClosed,
void(QuicErrorCode error,
« no previous file with comments | « net/tools/quic/quic_client_session.h ('k') | net/tools/quic/quic_simple_server_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698