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

Unified Diff: content/test/layouttest_support.cc

Issue 294043015: Move creation of MediaStream renders from MediaStreamImpl to MediaStreamRenderFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed commments. Fixed build when enable_webrtc = 0 Created 6 years, 7 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/shell/renderer/test_runner/web_frame_test_proxy.h ('k') | content/test/test_media_stream_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 648771015c3e8b2161aa254c2b3ada38870f995b..b045da9a3d98955be2334474c3f9d394c126ddf4 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -18,7 +18,6 @@
#include "content/shell/renderer/test_runner/TestCommon.h"
#include "content/shell/renderer/test_runner/web_frame_test_proxy.h"
#include "content/shell/renderer/test_runner/web_test_proxy.h"
-#include "content/test/test_media_stream_client.h"
#include "third_party/WebKit/public/platform/WebDeviceMotionData.h"
#include "third_party/WebKit/public/platform/WebDeviceOrientationData.h"
#include "third_party/WebKit/public/platform/WebGamepads.h"
@@ -66,8 +65,6 @@ RenderFrameImpl* CreateWebFrameTestProxy(
FrameProxy* render_frame_proxy = new FrameProxy(render_view, routing_id);
render_frame_proxy->set_base_proxy(GetWebTestProxyBase(render_view));
- UseMockMediaStreams(render_frame_proxy);
-
return render_frame_proxy;
}
@@ -240,13 +237,6 @@ void DisableAutoResizeMode(RenderView* render_view, const WebSize& new_size) {
DisableAutoResizeForTesting(new_size);
}
-void UseMockMediaStreams(RenderFrame* render_frame) {
- RenderFrameImpl* render_frame_impl = static_cast<RenderFrameImpl*>(
- render_frame);
- render_frame_impl->SetMediaStreamClientForTesting(
- new TestMediaStreamClient(render_frame_impl));
-}
-
struct ToLower {
base::char16 operator()(base::char16 c) { return tolower(c); }
};
« no previous file with comments | « content/shell/renderer/test_runner/web_frame_test_proxy.h ('k') | content/test/test_media_stream_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698