Index: src/gpu/GrAADistanceFieldPathRenderer.cpp |
diff --git a/src/gpu/GrAADistanceFieldPathRenderer.cpp b/src/gpu/GrAADistanceFieldPathRenderer.cpp |
index 3e054d144ae98ccde4d7e0c79c00834e5468bbbd..dce4f8973728583df57881b38a4312579b7b45bc 100755 |
--- a/src/gpu/GrAADistanceFieldPathRenderer.cpp |
+++ b/src/gpu/GrAADistanceFieldPathRenderer.cpp |
@@ -630,6 +630,7 @@ struct PathTestStruct { |
SkDELETE(pathData); |
} |
SkDELETE(fAtlas); |
+ fPathCache.reset(); |
} |
static void HandleEviction(GrBatchAtlas::AtlasID id, void* pr) { |
@@ -654,7 +655,7 @@ struct PathTestStruct { |
PathDataList fPathList; |
}; |
-BATCH_TEST_DEFINE(AADistanceFieldPathRenderer) { |
+BATCH_TEST_DEFINE(AADistanceFieldPathBatch) { |
static PathTestStruct gTestStruct; |
if (context->uniqueID() != gTestStruct.fContextID) { |