summaryrefslogtreecommitdiffstats
path: root/gfx/layers/ImageContainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/ImageContainer.h')
-rw-r--r--gfx/layers/ImageContainer.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/gfx/layers/ImageContainer.h b/gfx/layers/ImageContainer.h
index a2f404e17..73085ba90 100644
--- a/gfx/layers/ImageContainer.h
+++ b/gfx/layers/ImageContainer.h
@@ -166,9 +166,7 @@ protected:
class GLImage;
class EGLImageImage;
class SharedRGBImage;
-#ifdef MOZ_WIDGET_ANDROID
-class SurfaceTextureImage;
-#elif defined(XP_MACOSX)
+#if defined(XP_MACOSX)
class MacIOSurfaceImage;
#endif
@@ -225,9 +223,6 @@ public:
/* Access to derived classes. */
virtual EGLImageImage* AsEGLImageImage() { return nullptr; }
virtual GLImage* AsGLImage() { return nullptr; }
-#ifdef MOZ_WIDGET_ANDROID
- virtual SurfaceTextureImage* AsSurfaceTextureImage() { return nullptr; }
-#endif
#ifdef XP_MACOSX
virtual MacIOSurfaceImage* AsMacIOSurfaceImage() { return nullptr; }
#endif