From fdcf2c0863cdd5779bd6203d45b77d2daf21f159 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Wed, 5 Nov 2014 12:30:32 -0800 Subject: Revert of Add mock context and use in ResourceCacheTest. (patchset #4 id:60001 of https://codereview.chromium.org/702083003/) Reason for revert: Breaking tests Original issue's description: > Add mock context and use in ResourceCacheTest. > > BUG=skia:2889 > > Committed: https://skia.googlesource.com/skia/+/820dd6c335411aad889c1d7e8a857642ecd87e30 TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true BUG=skia:2889 Review URL: https://codereview.chromium.org/704563004 --- include/gpu/GrContext.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/gpu') diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index 2adc84211a..464f36d123 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -63,11 +63,6 @@ public: */ static GrContext* Create(GrBackend, GrBackendContext, const Options* opts = NULL); - /** - * Only defined in test apps. - */ - static GrContext* CreateMockContext(); - virtual ~GrContext(); /** @@ -983,8 +978,6 @@ private: GrContext(const Options&); // init must be called after the constructor. bool init(GrBackend, GrBackendContext); - void initMockContext(); - void initCommon(); void setupDrawBuffer(); -- cgit v1.2.3