Index: src/image/SkSurface_Gpu.cpp |
diff --git a/src/image/SkSurface_Gpu.cpp b/src/image/SkSurface_Gpu.cpp |
index 2d5645b2b016d734b2c170881b8e7b276182d6ba..753f422e79b4815616e5b10caa1e621b5a3d0ef0 100644 |
--- a/src/image/SkSurface_Gpu.cpp |
+++ b/src/image/SkSurface_Gpu.cpp |
@@ -62,8 +62,7 @@ bool SkSurface_Gpu::onGetRenderTargetHandle(GrBackendObject* obj, BackendHandleA |
SkCanvas* SkSurface_Gpu::onNewCanvas() { |
SkCanvas::InitFlags flags = SkCanvas::kDefault_InitFlags; |
- // When we think this works... |
-// flags |= SkCanvas::kConservativeRasterClip_InitFlag; |
+ flags = static_cast<SkCanvas::InitFlags>(flags | SkCanvas::kConservativeRasterClip_InitFlag); |
return new SkCanvas(fDevice, flags); |
} |