aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-11-03 11:27:07 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-03 11:27:07 -0800
commit67b8b5e67a427382fed8c5d8b3c70a21ed2492c6 (patch)
tree3000bc4503b587abf98253178e38fcad5ed4eb27 /tests
parent4a40a46c654f292b9407fe42012831855411f75e (diff)
Revert of Revert[2] of "stop using drawSprite (at least w/ no filters) as it is going away" (patchset #1 id:1 of https://codereview.chromium.org/1410343011/ )
Reason for revert: failing on msaa Original issue's description: > Revert[2] of "stop using drawSprite (at least w/ no filters) as it is going away" > > Fixed assert in test that was calling GrRecordReplaceDraw(). That function now uses > drawBitmap, so updated the test to check for that (instead of drawSprite). > > This reverts commit 21b766347064837e6b78d600755901aad88cd6e0. > > BUG=skia: > TBR= > > Committed: https://skia.googlesource.com/skia/+/7b81994d95f10cda80ddb85af68a2651ff31782f TBR= NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1420053009
Diffstat (limited to 'tests')
-rw-r--r--tests/RecordReplaceDrawTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/RecordReplaceDrawTest.cpp b/tests/RecordReplaceDrawTest.cpp
index 86e022440c..3074cfdc13 100644
--- a/tests/RecordReplaceDrawTest.cpp
+++ b/tests/RecordReplaceDrawTest.cpp
@@ -142,7 +142,7 @@ void test_replacements(skiatest::Reporter* r, GrContext* context, bool useBBH) {
assert_type<SkRecords::Save>(r, rerecord, 0);
index += 1;
}
- assert_type<SkRecords::DrawBitmap>(r, rerecord, index + 0);
+ assert_type<SkRecords::DrawSprite>(r, rerecord, index + 0);
assert_type<SkRecords::DrawRect>(r, rerecord, index + 1);
if (4 == recount) {
assert_type<SkRecords::Restore>(r, rerecord, 3);