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

Unified Diff: media/blink/webmediaplayer_impl_unittest.cc

Issue 2369613003: Require WebLocalFrame to be created with a non-null client (Closed)
Patch Set: oops 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/webmediaplayer_impl_unittest.cc
diff --git a/media/blink/webmediaplayer_impl_unittest.cc b/media/blink/webmediaplayer_impl_unittest.cc
index 9112cff09ec8169b4c36f01a64c268e5f7975107..f903c2d07810ca84704a10c299831241e273c81e 100644
--- a/media/blink/webmediaplayer_impl_unittest.cc
+++ b/media/blink/webmediaplayer_impl_unittest.cc
@@ -21,7 +21,6 @@
#include "media/base/media_log.h"
#include "media/base/media_switches.h"
#include "media/base/test_helpers.h"
-#include "media/blink/mock_webframeclient.h"
#include "media/blink/webmediaplayer_delegate.h"
#include "media/blink/webmediaplayer_params.h"
#include "media/renderers/default_renderer_factory.h"
@@ -152,7 +151,6 @@ class WebMediaPlayerImplTest : public testing::Test {
base::RunLoop().RunUntilIdle();
web_view_->close();
- web_local_frame_->close();
}
protected:
@@ -243,7 +241,7 @@ class WebMediaPlayerImplTest : public testing::Test {
base::Thread media_thread_;
// Blink state.
- MockWebFrameClient web_frame_client_;
+ blink::WebFrameClient web_frame_client_;
blink::WebView* web_view_;
blink::WebLocalFrame* web_local_frame_;

Powered by Google App Engine
This is Rietveld 408576698