| Index: src/gpu/GrContextFactory.h
|
| diff --git a/src/gpu/GrContextFactory.h b/src/gpu/GrContextFactory.h
|
| index 6d174323180b2a3eb651445549b2ec54c0dfeb32..c837e74a25b29c36ee2031ed97686d089b87d893 100644
|
| --- a/src/gpu/GrContextFactory.h
|
| +++ b/src/gpu/GrContextFactory.h
|
| @@ -137,19 +137,6 @@ public:
|
| }
|
| return nullptr;
|
| }
|
| -
|
| - // Returns the GLContext of the given type. If it has not been created yet,
|
| - // nullptr is returned instead.
|
| - SkGLContext* getGLContext(GLContextType type) {
|
| - for (int i = 0; i < fContexts.count(); ++i) {
|
| - if (fContexts[i]->fType == type) {
|
| - return fContexts[i]->fGLContext;
|
| - }
|
| - }
|
| -
|
| - return nullptr;
|
| - }
|
| -
|
| const GrContextOptions& getGlobalOptions() const { return fGlobalOptions; }
|
|
|
| private:
|
|
|