Index: content/renderer/pepper/resource_converter.cc |
diff --git a/content/renderer/pepper/resource_converter.cc b/content/renderer/pepper/resource_converter.cc |
index 45687c3fdaf7a97f4906fc414137d7196f1e954c..a679abcc8b9d072c1274d433e91a91ded8e77073 100644 |
--- a/content/renderer/pepper/resource_converter.cc |
+++ b/content/renderer/pepper/resource_converter.cc |
@@ -13,6 +13,7 @@ |
#include "content/renderer/pepper/pepper_media_stream_audio_track_host.h" |
#include "content/renderer/pepper/pepper_media_stream_video_track_host.h" |
#include "ipc/ipc_message.h" |
+#include "media/media_features.h" |
#include "ppapi/host/ppapi_host.h" |
#include "ppapi/host/resource_host.h" |
#include "ppapi/proxy/ppapi_messages.h" |
@@ -166,7 +167,7 @@ bool DOMMediaStreamTrackToResource( |
std::unique_ptr<IPC::Message>* create_message) { |
DCHECK(!dom_media_stream_track.isNull()); |
*pending_renderer_id = 0; |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
const blink::WebMediaStreamTrack track = dom_media_stream_track.component(); |
const std::string id = track.source().id().utf8(); |