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

Unified Diff: media/blink/video_frame_compositor_unittest.cc

Issue 2352253002: Added MediaSourceState unit test. (Closed)
Patch Set: Return OnNewConfigs cb result from the AppendData helper Created 4 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
Index: media/blink/video_frame_compositor_unittest.cc
diff --git a/media/blink/video_frame_compositor_unittest.cc b/media/blink/video_frame_compositor_unittest.cc
index c20dab5275370c76edc32c997097a62057333387..e987cb90482005091c9f783f2ba5a959379bb747 100644
--- a/media/blink/video_frame_compositor_unittest.cc
+++ b/media/blink/video_frame_compositor_unittest.cc
@@ -8,6 +8,7 @@
#include "base/run_loop.h"
#include "base/test/simple_test_tick_clock.h"
#include "cc/layers/video_frame_provider.h"
+#include "media/base/gmock_callback_support.h"
#include "media/base/video_frame.h"
#include "media/blink/video_frame_compositor.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -19,10 +20,6 @@ using testing::Return;
namespace media {
-ACTION_P(RunClosure, closure) {
- closure.Run();
-}
-
class VideoFrameCompositorTest : public testing::Test,
public cc::VideoFrameProvider::Client,
public VideoRendererSink::RenderCallback {

Powered by Google App Engine
This is Rietveld 408576698