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

Unified Diff: content/shell/renderer/test_runner/web_frame_test_proxy.h

Issue 381683003: Fix enable_webrtc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix when enable_webrtc = 0, and fix the file indentation Created 6 years, 5 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: content/shell/renderer/test_runner/web_frame_test_proxy.h
diff --git a/content/shell/renderer/test_runner/web_frame_test_proxy.h b/content/shell/renderer/test_runner/web_frame_test_proxy.h
index 3eae47487a206b8dd2fbd672671ea391028c0137..f33a33626b9a8ce48009209b814e779371c83f44 100644
--- a/content/shell/renderer/test_runner/web_frame_test_proxy.h
+++ b/content/shell/renderer/test_runner/web_frame_test_proxy.h
@@ -276,11 +276,13 @@ class WebFrameTestProxy : public Base {
}
private:
+#if defined(ENABLE_WEBRTC)
virtual scoped_ptr<MediaStreamRendererFactory>
CreateRendererFactory() OVERRIDE {
return scoped_ptr<MediaStreamRendererFactory>(
new TestMediaStreamRendererFactory());
}
+#endif
WebTestProxyBase* base_proxy_;
« content/public/browser/render_process_host.h ('K') | « content/public/browser/render_process_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698