Make GrClientMappedBufferManager use GrDirectContextID for messages
Change-Id: Iace947384fbe426915e7a9d426dc7ac60fb3883b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/383700
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrDirectContext.cpp b/src/gpu/GrDirectContext.cpp
index 19722bb..0d62b04 100644
--- a/src/gpu/GrDirectContext.cpp
+++ b/src/gpu/GrDirectContext.cpp
@@ -214,7 +214,7 @@
fResourceCache->setThreadSafeCache(this->threadSafeCache());
fResourceProvider = std::make_unique<GrResourceProvider>(fGpu.get(), fResourceCache.get(),
this->singleOwner());
- fMappedBufferManager = std::make_unique<GrClientMappedBufferManager>(this->contextID());
+ fMappedBufferManager = std::make_unique<GrClientMappedBufferManager>(this->directContextID());
fDidTestPMConversions = false;