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

Unified Diff: Source/modules/websockets/NewWebSocketChannelImplTest.cpp

Issue 410263002: Oilpan: fix WebSockets unit tests after r178758. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/websockets/NewWebSocketChannelImplTest.cpp
diff --git a/Source/modules/websockets/NewWebSocketChannelImplTest.cpp b/Source/modules/websockets/NewWebSocketChannelImplTest.cpp
index 89dfc728a092f649ecbf72380c63209dbf6d0184..f39cbb76b28f6edb9368ff8b2009f6313d097823 100644
--- a/Source/modules/websockets/NewWebSocketChannelImplTest.cpp
+++ b/Source/modules/websockets/NewWebSocketChannelImplTest.cpp
@@ -93,7 +93,12 @@ public:
ON_CALL(*channelClient(), didConsumeBufferedAmount(_)).WillByDefault(Invoke(this, &NewWebSocketChannelImplTest::didConsumeBufferedAmount));
}
- ~NewWebSocketChannelImplTest() { }
+ ~NewWebSocketChannelImplTest()
+ {
+#if ENABLE(OILPAN)
+ channel()->disconnect();
+#endif
+ }
MockWebSocketChannelClient* channelClient()
{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698