aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PictureTest.cpp
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2016-05-31 06:32:57 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-31 06:32:57 -0700
commit019db3fe885848913645e2dda62c84744ad5ee65 (patch)
tree70ee01cc8225c4a79ac4b70f6f2c07ae10ca62c2 /tests/PictureTest.cpp
parenta4b09a117d4d1ba5dda372e6a2323e653766539e (diff)
Remove unused SkPictureGpuAnalyzer::analyze()
After https://crrev.com/c64bd21780da13051846ae45b54a1e6c6bf6ac52, Chromium no longer uses analyze(). R=mtklein@google.com,reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2014983002 Review-Url: https://codereview.chromium.org/2014983002
Diffstat (limited to 'tests/PictureTest.cpp')
-rw-r--r--tests/PictureTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp
index 0603eb328f..6dbc86b147 100644
--- a/tests/PictureTest.cpp
+++ b/tests/PictureTest.cpp
@@ -1416,7 +1416,7 @@ DEF_TEST(PictureGpuAnalyzer, r) {
SkPictureGpuAnalyzer analyzer;
REPORTER_ASSERT(r, analyzer.suitableForGpuRasterization());
- analyzer.analyze(vetoPicture.get());
+ analyzer.analyzePicture(vetoPicture.get());
REPORTER_ASSERT(r, !analyzer.suitableForGpuRasterization());
analyzer.reset();
@@ -1425,7 +1425,7 @@ DEF_TEST(PictureGpuAnalyzer, r) {
recorder.beginRecording(10, 10)->drawPicture(vetoPicture);
sk_sp<SkPicture> nestedVetoPicture(recorder.finishRecordingAsPicture());
- analyzer.analyze(nestedVetoPicture.get());
+ analyzer.analyzePicture(nestedVetoPicture.get());
REPORTER_ASSERT(r, !analyzer.suitableForGpuRasterization());
analyzer.reset();