Stop using resourceProvider in GrRenderTargetContext's ctor

Change-Id: Iec4a4f2b6a9c4810e77e81bec6fe43d1afa0950e
Reviewed-on: https://skia-review.googlesource.com/c/193022
Commit-Queue: Greg Daniel <egdaniel@google.com>
Auto-Submit: Robert Phillips <robertphillips@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index 5e86602..7f7e4d4 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -116,11 +116,9 @@
     }
 #endif
 
-    bool explicitlyAllocatingResources = fResourceProvider
-                                            ? fResourceProvider->explicitlyAllocateGPUResources()
-                                            : false;
     fDrawingManager.reset(new GrDrawingManager(this, prcOptions, textContextOptions,
-                                               this->singleOwner(), explicitlyAllocatingResources,
+                                               this->singleOwner(),
+                                               this->explicitlyAllocateGPUResources(),
                                                this->options().fSortRenderTargets,
                                                this->options().fReduceOpListSplitting));