Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec9eecd0 authored by Mike Reed's avatar Mike Reed Committed by Michael Ludwig
Browse files

only check the image virtual, now the the bitmap one is gone

Test: make

Change-Id: Ia1f1af7ca35ad4fa74d5744701e3ef686b1d149d
parent 8a8a7dd1
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -1169,20 +1169,6 @@ RENDERTHREAD_SKIA_PIPELINE_TEST(SkiaRecordingCanvas, drawVectorDrawable) {
    class VectorDrawableTestCanvas : public TestCanvasBase {
    public:
        VectorDrawableTestCanvas() : TestCanvasBase(CANVAS_WIDTH, CANVAS_HEIGHT) {}
        void onDrawBitmapRect(const SkBitmap& bitmap, const SkRect* src, const SkRect& dst,
                              const SkPaint* paint, SrcRectConstraint constraint) override {
            const int index = mDrawCounter++;
            switch (index) {
                case 0:
                    EXPECT_EQ(dst, SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT));
                    break;
                case 1:
                    EXPECT_EQ(dst, SkRect::MakeWH(CANVAS_WIDTH / 2, CANVAS_HEIGHT));
                    break;
                default:
                    ADD_FAILURE();
            }
        }
        void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
                              const SkPaint* paint, SrcRectConstraint constraint) override {
            const int index = mDrawCounter++;