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 8d9271a166ab2f633f91ca3f8b5aaf97d3c060e1..50afd1e52fe758b52f9fa9db32cab3d405c9830d 100644 |
--- a/content/shell/renderer/test_runner/web_frame_test_proxy.h |
+++ b/content/shell/renderer/test_runner/web_frame_test_proxy.h |
@@ -281,11 +281,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_; |