Add SkColorSpace to GrDrawContext
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2164363002
Review-Url: https://codereview.chromium.org/2164363002
diff --git a/example/HelloWorld.h b/example/HelloWorld.h
index 619ee7c..deb56ba 100644
--- a/example/HelloWorld.h
+++ b/example/HelloWorld.h
@@ -36,7 +36,7 @@
SkSurface* createSurface() override {
SkSurfaceProps props(INHERITED::getSurfaceProps());
if (kGPU_DeviceType == fType) {
- return SkSurface::MakeRenderTargetDirect(fRenderTarget, &props).release();
+ return SkSurface::MakeRenderTargetDirect(fRenderTarget, nullptr, &props).release();
}
static const SkImageInfo info = SkImageInfo::MakeN32Premul(
SkScalarRoundToInt(this->width()), SkScalarRoundToInt(this->height()));