aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/rectangletexture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/rectangletexture.cpp')
-rw-r--r--gm/rectangletexture.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/rectangletexture.cpp b/gm/rectangletexture.cpp
index 1ce915bf52..2fb64be90e 100644
--- a/gm/rectangletexture.cpp
+++ b/gm/rectangletexture.cpp
@@ -13,7 +13,6 @@
#include "GrBackendSurface.h"
#include "GrContext.h"
-#include "GrContextPriv.h"
#include "GrGpu.h"
#include "GrTest.h"
#include "gl/GrGLContext.h"
@@ -62,7 +61,7 @@ protected:
if (!context) {
return nullptr;
}
- GrGpu* gpu = context->contextPriv().getGpu();
+ GrGpu* gpu = context->getGpu();
if (!gpu) {
return nullptr;
}