Index: tests/PictureTest.cpp |
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp |
index b98cc4680e1798e68605a6ef6fe62e5460fc1d45..a66185b95b40649699a418d20bef8a82280ec594 100644 |
--- a/tests/PictureTest.cpp |
+++ b/tests/PictureTest.cpp |
@@ -974,7 +974,7 @@ static void test_savelayer_extraction(skiatest::Reporter* reporter) { |
} |
// Now test out the SaveLayer extraction |
- { |
+ if (!SkCanvas::Internal_Private_GetIgnoreSaveLayerBounds()) { |
SkPicture::AccelData::Key key = SkLayerInfo::ComputeKey(); |
const SkPicture::AccelData* data = pict->EXPERIMENTAL_getAccelData(key); |