Index: src/gpu/GrLayerHoister.cpp |
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp |
index 272f0446b8c65dbe7145e8ff2f1185db7949e474..1f7ce419ae8100ae22e4d81563f14f7021d50774 100644 |
--- a/src/gpu/GrLayerHoister.cpp |
+++ b/src/gpu/GrLayerHoister.cpp |
@@ -33,8 +33,8 @@ static void prepare_for_hoisting(GrLayerCache* layerCache, |
layerRect, |
combined, |
info.fPaint); |
- GrTextureDesc desc; |
- desc.fFlags = kRenderTarget_GrTextureFlagBit; |
+ GrSurfaceDesc desc; |
+ desc.fFlags = kRenderTarget_GrSurfaceFlag; |
desc.fWidth = layerRect.width(); |
desc.fHeight = layerRect.height(); |
desc.fConfig = kSkia8888_GrPixelConfig; |