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

Unified Diff: content/renderer/media/video_source_handler_unittest.cc

Issue 596923003: Fix memory leakage in VideoSourceHandlerTest.OpenWithoutClose (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: content/renderer/media/video_source_handler_unittest.cc
diff --git a/content/renderer/media/video_source_handler_unittest.cc b/content/renderer/media/video_source_handler_unittest.cc
index 1a5cb78326d84f2d701292ab1456b78b1f186641..c9448dca3396907e7661f323618706b46b76c5ad 100644
--- a/content/renderer/media/video_source_handler_unittest.cc
+++ b/content/renderer/media/video_source_handler_unittest.cc
@@ -53,6 +53,7 @@ class VideoSourceHandlerTest : public ::testing::Test {
virtual void TearDown() {
registry_.reset();
+ handler_.reset();
blink::WebHeap::collectAllGarbageForTesting();
}
« 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