diff --git a/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp b/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp index 85c2bba33494..32b1b125b5d4 100644 --- a/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp +++ b/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp @@ -2194,16 +2194,14 @@ public: { #ifdef MOZILLA_INTERNAL_API ReentrantMonitorAutoEnter enter(monitor_); -#endif // MOZILLA_INTERNAL_API -#if defined(MOZILLA_INTERNAL_API) if (buffer) { // Create a video frame using |buffer|. #ifdef MOZ_WIDGET_GONK RefPtr yuvImage = new GrallocImage(); #else RefPtr yuvImage = image_container_->CreatePlanarYCbCrImage(); -#endif +#endif // MOZ_WIDGET_GONK uint8_t* frame = const_cast(static_cast (buffer)); PlanarYCbCrData yuvData;