Index: src/gpu/GrDrawContext.cpp |
diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp |
index 40d976869bd8c11d136ae6611729af0dc34bb0de..48242e278f079dbedda890a360f69a1a8f33c0f3 100644 |
--- a/src/gpu/GrDrawContext.cpp |
+++ b/src/gpu/GrDrawContext.cpp |
@@ -69,6 +69,7 @@ bool GrDrawContext::wasAbandoned() const { |
GrDrawContext::GrDrawContext(GrContext* context, |
GrDrawingManager* drawingMgr, |
sk_sp<GrRenderTarget> rt, |
+ sk_sp<SkColorSpace> colorSpace, |
const SkSurfaceProps* surfaceProps, |
GrAuditTrail* auditTrail, |
GrSingleOwner* singleOwner) |
@@ -77,6 +78,7 @@ GrDrawContext::GrDrawContext(GrContext* context, |
, fDrawTarget(SkSafeRef(fRenderTarget->getLastDrawTarget())) |
, fContext(context) |
, fInstancedPipelineInfo(fRenderTarget.get()) |
+ , fColorSpace(std::move(colorSpace)) |
, fSurfaceProps(SkSurfacePropsCopyOrDefault(surfaceProps)) |
, fAuditTrail(auditTrail) |
#ifdef SK_DEBUG |