diff --git a/gfx/gl/AndroidSurfaceTexture.cpp b/gfx/gl/AndroidSurfaceTexture.cpp index 130657532ee4..5334e15d490f 100644 --- a/gfx/gl/AndroidSurfaceTexture.cpp +++ b/gfx/gl/AndroidSurfaceTexture.cpp @@ -18,6 +18,7 @@ #include "GLContext.h" using namespace mozilla; +using namespace mozilla::gl; using namespace mozilla::widget::android; // UGH diff --git a/gfx/gl/GLBlitHelper.cpp b/gfx/gl/GLBlitHelper.cpp index ff85b783f197..fe865dccad79 100644 --- a/gfx/gl/GLBlitHelper.cpp +++ b/gfx/gl/GLBlitHelper.cpp @@ -5,6 +5,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "GLBlitHelper.h" +#include "AndroidSurfaceTexture.h" #include "GLContext.h" #include "ScopedGLHelpers.h" #include "mozilla/Preferences.h" @@ -738,7 +739,7 @@ GLBlitHelper::BlitSurfaceTextureImage(layers::SurfaceTextureImage* stImage) surfaceTexture->UpdateTexImage(); - Matrix4x4 transform; + gfx::Matrix4x4 transform; surfaceTexture->GetTransformMatrix(transform); mGL->fUniformMatrix4fv(mTextureTransformLoc, 1, false, &transform._11);