| Index: src/gpu/gl/GrGLContext.h
|
| diff --git a/src/gpu/gl/GrGLContext.h b/src/gpu/gl/GrGLContext.h
|
| index 13c94a902d7ad5e0742296a3791d382f81cc5db5..e6c9f9e040bf46bb01fe5f7db132ad4859569163 100644
|
| --- a/src/gpu/gl/GrGLContext.h
|
| +++ b/src/gpu/gl/GrGLContext.h
|
| @@ -58,16 +58,11 @@ public:
|
| bool isChromium() const { return fIsChromium; }
|
| const GrGLCaps* caps() const { return fGLCaps.get(); }
|
| GrGLCaps* caps() { return fGLCaps; }
|
| - const GrGLExtensions& extensions() const { return fExtensions; }
|
| -
|
| - /**
|
| - * Shortcut for extensions().has(ext)
|
| - */
|
| bool hasExtension(const char* ext) const {
|
| if (!this->isInitialized()) {
|
| return false;
|
| }
|
| - return fExtensions.has(ext);
|
| + return fInterface->hasExtension(ext);
|
| }
|
|
|
| /**
|
| @@ -81,7 +76,6 @@ protected:
|
| GrGLSLGeneration fGLSLGeneration;
|
| GrGLVendor fVendor;
|
| GrGLRenderer fRenderer;
|
| - GrGLExtensions fExtensions;
|
| bool fIsMesa;
|
| bool fIsChromium;
|
| SkAutoTUnref<GrGLCaps> fGLCaps;
|
|
|