Index: src/gpu/GrLayerHoister.cpp |
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp |
index 165716f82d6f9df1cacc960557e575e1f337284f..ba431d33e98c0340210a5a9ea2749087de558762 100644 |
--- a/src/gpu/GrLayerHoister.cpp |
+++ b/src/gpu/GrLayerHoister.cpp |
@@ -142,7 +142,8 @@ |
if (atlased.count() > 0) { |
// All the atlased layers are rendered into the same GrTexture |
SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTargetDirect( |
- atlased[0]->texture()->asRenderTarget(), NULL)); |
+ atlased[0]->texture()->asRenderTarget(), |
+ SkSurface::kStandard_TextRenderMode)); |
SkCanvas* atlasCanvas = surface->getCanvas(); |
@@ -195,7 +196,8 @@ |
// Each non-atlased layer has its own GrTexture |
SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTargetDirect( |
- layer->texture()->asRenderTarget(), NULL)); |
+ layer->texture()->asRenderTarget(), |
+ SkSurface::kStandard_TextRenderMode)); |
SkCanvas* layerCanvas = surface->getCanvas(); |