Index: tests/GpuLayerCacheTest.cpp |
diff --git a/tests/GpuLayerCacheTest.cpp b/tests/GpuLayerCacheTest.cpp |
index 66117e6a367508e732eff244888df77ef240a9ad..c9b88f5dfe613bc5562d42bf70621dc8f8494631 100644 |
--- a/tests/GpuLayerCacheTest.cpp |
+++ b/tests/GpuLayerCacheTest.cpp |
@@ -34,7 +34,8 @@ static void create_layers(skiatest::Reporter* reporter, |
GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(), |
idOffset+i+1, idOffset+i+2, |
SkIPoint::Make(0, 0), |
- SkMatrix::I()); |
+ SkMatrix::I(), |
+ NULL); |
REPORTER_ASSERT(reporter, layer); |
GrCachedLayer* temp = cache->findLayer(picture.uniqueID(), idOffset+i+1, idOffset+i+2, |
SkIPoint::Make(0, 0), SkMatrix::I()); |
@@ -47,6 +48,7 @@ static void create_layers(skiatest::Reporter* reporter, |
REPORTER_ASSERT(reporter, layer->stop() == idOffset + i + 2); |
REPORTER_ASSERT(reporter, layer->ctm() == SkMatrix::I()); |
REPORTER_ASSERT(reporter, NULL == layer->texture()); |
+ REPORTER_ASSERT(reporter, NULL == layer->paint()); |
REPORTER_ASSERT(reporter, !layer->isAtlased()); |
} |