From 92ce0226c37b6a82c360a82975d51b8c95feea22 Mon Sep 17 00:00:00 2001 From: John Lin Date: Thu, 12 Sep 2019 18:19:31 +0000 Subject: [PATCH] Bug 1570337 - p7: fix build error/warning for UNIFIED_SOURCES. r=jya Differential Revision: https://phabricator.services.mozilla.com/D44588 --HG-- extra : moz-landing-system : lando --- dom/media/platforms/android/RemoteDataDecoder.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dom/media/platforms/android/RemoteDataDecoder.cpp b/dom/media/platforms/android/RemoteDataDecoder.cpp index e85a733d2a3b..53454d8dc876 100644 --- a/dom/media/platforms/android/RemoteDataDecoder.cpp +++ b/dom/media/platforms/android/RemoteDataDecoder.cpp @@ -2,13 +2,16 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include "RemoteDataDecoder.h" + #include "AndroidBridge.h" #include "AndroidDecoderModule.h" -#include "JavaCallbacksSupport.h" -#include "SimpleMap.h" +#include "EMEDecoderModule.h" #include "GLImages.h" +#include "JavaCallbacksSupport.h" #include "MediaData.h" #include "MediaInfo.h" +#include "SimpleMap.h" #include "VideoUtils.h" #include "VPXDecoder.h" @@ -285,7 +288,7 @@ class RemoteVideoDecoder : public RemoteDataDecoder { } if (ok && (size > 0 || presentationTimeUs >= 0)) { - RefPtr img = new SurfaceTextureImage( + RefPtr img = new layers::SurfaceTextureImage( mSurfaceHandle, inputInfo.mImageSize, false /* NOT continuous */, gl::OriginPos::BottomLeft, mConfig.HasAlpha()); @@ -856,3 +859,4 @@ void RemoteDataDecoder::Error(const MediaResult& aError) { } } // namespace mozilla +#undef LOG