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