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

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

Issue 1686123004: Post GpuMemoryBufferVideoFramePool deletion on media thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Not using WeakPtr Created 4 years, 10 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 | « content/renderer/media/media_stream_video_renderer_sink.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_video_renderer_sink_unittest.cc
diff --git a/content/renderer/media/media_stream_video_renderer_sink_unittest.cc b/content/renderer/media/media_stream_video_renderer_sink_unittest.cc
index 9b3b35a05e71bf5a19e91bf7704bd3c9b6816a9e..32b23e39ab5bfc033eb8746a236fa552e2f7a688 100644
--- a/content/renderer/media/media_stream_video_renderer_sink_unittest.cc
+++ b/content/renderer/media/media_stream_video_renderer_sink_unittest.cc
@@ -59,6 +59,9 @@ class MediaStreamVideoRendererSinkTest : public testing::Test {
media_stream_video_renderer_sink_ = nullptr;
registry_.reset();
blink::WebHeap::collectAllGarbageForTesting();
+
+ // Let the message loop run to finish destroying the pool.
+ base::RunLoop().RunUntilIdle();
}
MOCK_METHOD1(RepaintCallback, void(const scoped_refptr<media::VideoFrame>&));
« no previous file with comments | « content/renderer/media/media_stream_video_renderer_sink.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698