Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 5a5173c53086e1bc202a8f62967aacee42125355..457e33b99ab520440524a9e08f78c22bf94b4860 100644 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -539,10 +539,8 @@ bool GrContext::applyGamma(GrRenderTarget* dst, GrTexture* src, SkScalar gamma){ |
return false; |
} |
- SkSurfaceProps props(SkSurfaceProps::kGammaCorrect_Flag, |
- SkSurfaceProps::kLegacyFontHost_InitType); |
// TODO: Supply color space? |
- sk_sp<GrDrawContext> drawContext(this->drawContext(sk_ref_sp(dst), nullptr, &props)); |
+ sk_sp<GrDrawContext> drawContext(this->drawContext(sk_ref_sp(dst), nullptr)); |
if (!drawContext) { |
return false; |
} |