Index: dm/DMGpuSupport.h |
diff --git a/dm/DMGpuSupport.h b/dm/DMGpuSupport.h |
index 742ec189a554dd23a053b5c53374da71b1e3d85c..1ea51d2621ef837765e89b86afb8676f98aa55a1 100644 |
--- a/dm/DMGpuSupport.h |
+++ b/dm/DMGpuSupport.h |
@@ -36,9 +36,6 @@ static inline sk_sp<SkSurface> NewGpuSurface( |
int samples, |
bool useDIText) { |
uint32_t flags = useDIText ? SkSurfaceProps::kUseDeviceIndependentFonts_Flag : 0; |
- if (SkImageInfoIsGammaCorrect(info)) { |
- flags |= SkSurfaceProps::kGammaCorrect_Flag; |
- } |
SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType); |
return SkSurface::MakeRenderTarget(grFactory->get(type, options), SkBudgeted::kNo, |
info, samples, &props); |