Move more internal methods from GrContext to GrContextPriv (take 3)
Change-Id: Ied630e61cf95780bf85032867e6ce663e1ef9c2f
Reviewed-on: https://skia-review.googlesource.com/98000
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/gm/rectangletexture.cpp b/gm/rectangletexture.cpp
index 2fb64be..1ce915b 100644
--- a/gm/rectangletexture.cpp
+++ b/gm/rectangletexture.cpp
@@ -13,6 +13,7 @@
#include "GrBackendSurface.h"
#include "GrContext.h"
+#include "GrContextPriv.h"
#include "GrGpu.h"
#include "GrTest.h"
#include "gl/GrGLContext.h"
@@ -61,7 +62,7 @@
if (!context) {
return nullptr;
}
- GrGpu* gpu = context->getGpu();
+ GrGpu* gpu = context->contextPriv().getGpu();
if (!gpu) {
return nullptr;
}