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

Unified Diff: content/renderer/pepper/resource_converter.cc

Issue 204673005: Turn off WebRTC feature should not break the build on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/resource_converter.cc
diff --git a/content/renderer/pepper/resource_converter.cc b/content/renderer/pepper/resource_converter.cc
index 130aff8f7f12dfc7604115a0139d82bfcdaada29..ac903648c6218f0e0a151a64abd4cc5d4eb5efac 100644
--- a/content/renderer/pepper/resource_converter.cc
+++ b/content/renderer/pepper/resource_converter.cc
@@ -151,7 +151,7 @@ bool DOMMediaStreamTrackToResource(
scoped_ptr<IPC::Message>* create_message) {
DCHECK(!dom_media_stream_track.isNull());
*pending_renderer_id = 0;
-
+#if defined(ENABLE_WEBRTC)
const blink::WebMediaStreamTrack track = dom_media_stream_track.component();
const std::string id = track.source().id().utf8();
@@ -176,7 +176,7 @@ bool DOMMediaStreamTrackToResource(
new PpapiPluginMsg_MediaStreamAudioTrack_CreateFromPendingHost(id));
return true;
}
-
+#endif
return false;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698