Index: tests/DeferredCanvasTest.cpp |
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp |
index 60d7d0a038034e710cc16d496e2bda9b6900b0cb..fff213b6070f603841fb9346dab09fbfe941de5c 100644 |
--- a/tests/DeferredCanvasTest.cpp |
+++ b/tests/DeferredCanvasTest.cpp |
@@ -8,7 +8,6 @@ |
#include "../src/image/SkImagePriv.h" |
#include "../src/image/SkSurface_Base.h" |
#include "SkBitmap.h" |
-#include "SkBitmapDevice.h" |
#include "SkBitmapProcShader.h" |
#include "SkDeferredCanvas.h" |
#include "SkGradientShader.h" |
@@ -440,19 +439,6 @@ static void TestDeferredCanvasFreshFrame(skiatest::Reporter* reporter) { |
} |
} |
-class MockDevice : public SkBitmapDevice { |
-public: |
- MockDevice(const SkBitmap& bm) : SkBitmapDevice(bm) { |
- fDrawBitmapCallCount = 0; |
- } |
- virtual void drawBitmap(const SkDraw&, const SkBitmap&, |
- const SkMatrix&, const SkPaint&) override { |
- fDrawBitmapCallCount++; |
- } |
- |
- int fDrawBitmapCallCount; |
-}; |
- |
class NotificationCounter : public SkDeferredCanvas::NotificationClient { |
public: |
NotificationCounter() { |