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

Unified Diff: media/blink/webmediaplayer_impl_unittest.cc

Issue 2333983002: Reduce number of active codecs on low end devices. (Closed)
Patch Set: Fix windows. 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
« no previous file with comments | « media/blink/webmediaplayer_impl.cc ('k') | media/gpu/android_video_decode_accelerator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl_unittest.cc
diff --git a/media/blink/webmediaplayer_impl_unittest.cc b/media/blink/webmediaplayer_impl_unittest.cc
index e34ba76745f83c79df69a1da31ecf5339819abd8..00781b0420d6d186f77cce752614a04cb1d1ead8 100644
--- a/media/blink/webmediaplayer_impl_unittest.cc
+++ b/media/blink/webmediaplayer_impl_unittest.cc
@@ -276,12 +276,10 @@ TEST_F(WebMediaPlayerImplTest, DidLoadingProgressClearsIdle) {
EXPECT_CALL(strict_delegate, IsPlayingBackgroundVideo()).Times(AnyNumber());
InitializeWebMediaPlayerImpl(strict_delegate.AsWeakPtr());
EXPECT_FALSE(IsSuspended());
- EXPECT_CALL(strict_delegate, PlayerGone(0));
wmpi_->OnSuspendRequested(false);
base::RunLoop().RunUntilIdle();
EXPECT_TRUE(IsSuspended());
AddBufferedRanges();
- EXPECT_CALL(strict_delegate, PlayerGone(0));
wmpi_->didLoadingProgress();
base::RunLoop().RunUntilIdle();
EXPECT_FALSE(IsSuspended());
« no previous file with comments | « media/blink/webmediaplayer_impl.cc ('k') | media/gpu/android_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698