Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index d8f65d5205757c0aba802e35e4e303f1abf6ff00..82da8c2fe2a04cce4609cd7a839e39d9b2a62a47 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -265,7 +265,7 @@ void GrGpu::getPathStencilSettingsForFillType(SkPath::FillType fill, GrStencilSe |
switch (fill) { |
default: |
- GrCrash("Unexpected path fill."); |
+ SkFAIL("Unexpected path fill."); |
/* fallthrough */; |
case SkPath::kWinding_FillType: |
case SkPath::kInverseWinding_FillType: |
@@ -313,7 +313,7 @@ const GrIndexBuffer* GrGpu::getQuadIndexBuffer() const { |
if (!fQuadIndexBuffer->updateData(indices, SIZE)) { |
fQuadIndexBuffer->unref(); |
fQuadIndexBuffer = NULL; |
- GrCrash("Can't get indices into buffer!"); |
+ SkFAIL("Can't get indices into buffer!"); |
} |
sk_free(indices); |
} |