Backed out changeset e3fe86623065 (bug 1084607)
authorWes Kocher <wkocher@mozilla.com>
Fri, 17 Oct 2014 16:32:27 -0700
changeset 211084 34f6b30b6dfac91ecf9416d1f8c953e79d01a07a
parent 211083 e3fe866230651de6aca3107670b3fcc5d851eded
child 211085 3f27d263d0f71cc7043556ff64a0442e1576c883
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
bugs1084607
milestone36.0a1
backs oute3fe866230651de6aca3107670b3fcc5d851eded
Backed out changeset e3fe86623065 (bug 1084607)
gfx/layers/GLImages.cpp
gfx/layers/opengl/TextureClientOGL.h
--- a/gfx/layers/GLImages.cpp
+++ b/gfx/layers/GLImages.cpp
@@ -1,22 +1,21 @@
 #ifdef MOZ_WIDGET_ANDROID
 
 #include "GLImages.h"
 #include "GLContext.h"
 #include "GLContextProvider.h"
 #include "ScopedGLHelpers.h"
+#include "GLImages.h"
 #include "GLBlitHelper.h"
 #include "GLReadTexImageHelper.h"
 #include "AndroidSurfaceTexture.h"
 
 using namespace mozilla;
-using namespace mozilla::gfx;
 using namespace mozilla::gl;
-using namespace mozilla::layers;
 
 static Mutex sSnapshotMutex("SurfaceTextureImage::sSnapshotMutex");
 static nsRefPtr<GLContext> sSnapshotContext;
 
 TemporaryRef<gfx::SourceSurface>
 SurfaceTextureImage::GetAsSourceSurface()
 {
   MutexAutoLock lock(sSnapshotMutex);
--- a/gfx/layers/opengl/TextureClientOGL.h
+++ b/gfx/layers/opengl/TextureClientOGL.h
@@ -69,17 +69,17 @@ protected:
 };
 
 #ifdef MOZ_WIDGET_ANDROID
 
 class SurfaceTextureClient : public TextureClient
 {
 public:
   SurfaceTextureClient(TextureFlags aFlags,
-                       gl::AndroidSurfaceTexture* aSurfTex,
+                       AndroidSurfaceTexture* aSurfTex,
                        gfx::IntSize aSize,
                        bool aInverted);
 
   ~SurfaceTextureClient();
 
   virtual bool IsAllocated() const MOZ_OVERRIDE { return true; }
 
   virtual bool HasInternalBuffer() const MOZ_OVERRIDE { return false; }
@@ -108,17 +108,17 @@ public:
   }
 
   virtual bool AllocateForSurface(gfx::IntSize aSize, TextureAllocationFlags aFlags) MOZ_OVERRIDE
   {
     return false;
   }
 
 protected:
-  const RefPtr<gl::AndroidSurfaceTexture> mSurfTex;
+  const RefPtr<AndroidSurfaceTexture> mSurfTex;
   const gfx::IntSize mSize;
   bool mIsLocked;
 };
 
 #endif // MOZ_WIDGET_ANDROID
 
 } // namespace
 } // namespace