From 9b051a375ba6d6b61cea98f35834cd032aaa5347 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Tue, 20 Aug 2013 20:06:40 +0000 Subject: Revert r10830 (Split SkDevice out of SkRasterDevice) until we can get Chromium ready. git-svn-id: http://skia.googlecode.com/svn/trunk@10835 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/LayerDrawLooperTest.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'tests/LayerDrawLooperTest.cpp') diff --git a/tests/LayerDrawLooperTest.cpp b/tests/LayerDrawLooperTest.cpp index 2e4642e6fe..daadc86e54 100644 --- a/tests/LayerDrawLooperTest.cpp +++ b/tests/LayerDrawLooperTest.cpp @@ -19,20 +19,17 @@ namespace { -class FakeDevice : public SkBitmapDevice { +class FakeDevice : public SkDevice { public: - FakeDevice() : SkBitmapDevice(SkBitmap::kARGB_8888_Config, 100, 100, false) { } + FakeDevice() : SkDevice(SkBitmap::kARGB_8888_Config, 100, 100) { } virtual void drawRect(const SkDraw& draw, const SkRect& r, const SkPaint& paint) SK_OVERRIDE { fLastMatrix = *draw.fMatrix; - INHERITED::drawRect(draw, r, paint); + SkDevice::drawRect(draw, r, paint); } SkMatrix fLastMatrix; - -private: - typedef SkBitmapDevice INHERITED; }; } // namespace -- cgit v1.2.3