summaryrefslogtreecommitdiffstats
path: root/gfx/gl/GLContextProviderImpl.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-12-27 06:58:56 +0000
committerMoonchild <moonchild@palemoon.org>2020-12-27 06:58:56 +0000
commit8d4456c797eea9236f4d84cdb23d85ce670152dc (patch)
tree5328170540665a789e1d857957e433f253849f8b /gfx/gl/GLContextProviderImpl.h
parentae2a160348562dfa5361f1e68226365b240c9597 (diff)
downloadUXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.tar
UXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.tar.gz
UXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.tar.lz
UXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.tar.xz
UXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.zip
Issue #1053 - Part 3a: Remove Android conditionals from /gfx
Diffstat (limited to 'gfx/gl/GLContextProviderImpl.h')
-rw-r--r--gfx/gl/GLContextProviderImpl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gfx/gl/GLContextProviderImpl.h b/gfx/gl/GLContextProviderImpl.h
index 7b63905e6..0a5d30eaa 100644
--- a/gfx/gl/GLContextProviderImpl.h
+++ b/gfx/gl/GLContextProviderImpl.h
@@ -10,9 +10,6 @@
#ifndef GL_CONTEXT_PROVIDER_NAME
#error GL_CONTEXT_PROVIDER_NAME not defined
#endif
-#if defined(ANDROID)
-typedef void* EGLSurface;
-#endif // defined(ANDROID)
class GL_CONTEXT_PROVIDER_NAME
{
@@ -111,11 +108,6 @@ public:
static already_AddRefed<GLContext>
CreateWrappingExisting(void* aContext, void* aSurface);
-#if defined(ANDROID)
- static EGLSurface CreateEGLSurface(void* aWindow);
- static void DestroyEGLSurface(EGLSurface surface);
-#endif // defined(ANDROID)
-
/**
* Get a pointer to the global context, creating it if it doesn't exist.
*/