Clean up GrContext references in the src/gpu

This CL tries to remove all uses of GrContext - replacing them with
either GrDirectContext or GrRecordingContext. Preferring the recording
context wherever possible.

Change-Id: I61af94928aa37bc82ff9923acffd57586610f695
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/302904
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Adlai Holler <adlai@google.com>
diff --git a/src/gpu/GrProcessorUnitTest.cpp b/src/gpu/GrProcessorUnitTest.cpp
index 58b8fc0..4f10d5f 100644
--- a/src/gpu/GrProcessorUnitTest.cpp
+++ b/src/gpu/GrProcessorUnitTest.cpp
@@ -7,14 +7,14 @@
 
 #include "src/gpu/GrProcessorUnitTest.h"
 
-#include "include/gpu/GrContext.h"
-#include "src/gpu/GrContextPriv.h"
+#include "include/gpu/GrRecordingContext.h"
 #include "src/gpu/GrFragmentProcessor.h"
+#include "src/gpu/GrRecordingContextPriv.h"
 
 #if GR_TEST_UTILS
 
 GrProcessorTestData::GrProcessorTestData(SkRandom* random,
-                                         GrContext* context,
+                                         GrRecordingContext* context,
                                          int numViews,
                                          const ViewInfo views[])
         : fRandom(random), fContext(context) {
@@ -22,9 +22,6 @@
     fArena = std::unique_ptr<SkArenaAlloc>(new SkArenaAlloc(1000));
 }
 
-GrResourceProvider* GrProcessorTestData::resourceProvider() {
-    return fContext->priv().resourceProvider();
-}
 
 GrProxyProvider* GrProcessorTestData::proxyProvider() { return fContext->priv().proxyProvider(); }