Index: tests/RecordReplaceDrawTest.cpp |
diff --git a/tests/RecordReplaceDrawTest.cpp b/tests/RecordReplaceDrawTest.cpp |
index bbf01686d0adfa5e755cf403ea32d5dd768ccf45..55f47cee6cd1a571c52d5350268f98f3271b1a27 100644 |
--- a/tests/RecordReplaceDrawTest.cpp |
+++ b/tests/RecordReplaceDrawTest.cpp |
@@ -124,7 +124,7 @@ void test_replacements(skiatest::Reporter* r, GrContext* context, bool useBBH) { |
desc.fHeight = kHeight; |
desc.fSampleCnt = 0; |
- SkAutoTUnref<GrTexture> texture(context->createUncachedTexture(desc, NULL, 0)); |
+ SkAutoTUnref<GrTexture> texture(context->createTexture(desc, false, NULL, 0)); |
layer->setTexture(texture, SkIRect::MakeWH(kWidth, kHeight)); |
SkAutoTUnref<SkBBoxHierarchy> bbh; |