Index: tests/CanvasTest.cpp |
diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp |
index 6182d95ffc4302c841dd8c2d2b7365c1c8db4947..1e5f9e18bcab8a17525737eb8f9824b72d5ce4d2 100644 |
--- a/tests/CanvasTest.cpp |
+++ b/tests/CanvasTest.cpp |
@@ -780,7 +780,7 @@ |
} |
#define SHADOW_TEST_CANVAS_CONST 10 |
-#ifdef SK_EXPERIMENTAL_SHADOWING |
+ |
class SkShadowTestCanvas : public SkPaintFilterCanvas { |
public: |
@@ -817,7 +817,6 @@ |
typedef SkPaintFilterCanvas INHERITED; |
}; |
-#endif |
namespace { |
@@ -853,7 +852,6 @@ |
REPORTER_ASSERT(reporter, canvas.getClipBounds(&clip1) == filterCanvas.getClipBounds(&clip2)); |
REPORTER_ASSERT(reporter, clip1 == clip2); |
-#ifdef SK_EXPERIMENTAL_SHADOWING |
SkShadowTestCanvas* tCanvas = new SkShadowTestCanvas(100,100, reporter); |
tCanvas->testUpdateDepth(reporter); |
delete(tCanvas); |
@@ -867,7 +865,6 @@ |
tSCanvas->drawPicture(pic); |
delete(tSCanvas); |
-#endif |
} |
/////////////////////////////////////////////////////////////////////////////////////////////////// |