Bug 1084514 - Fix AndroidSourceTexture namespace issues. r=dholbert CLOSED TREE

This worked in the unified build because it borrowed includes
and namespace references from other files.
This commit is contained in:
Ralph Giles 2014-10-17 11:31:00 -07:00
parent 550cc2e2c1
commit 7bd68ff089
2 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,7 @@
#include "GLContext.h"
using namespace mozilla;
using namespace mozilla::gl;
using namespace mozilla::widget::android;
// UGH

View File

@ -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);