Index: include/device/xps/SkXPSDevice.h |
diff --git a/include/device/xps/SkXPSDevice.h b/include/device/xps/SkXPSDevice.h |
index 59cc113718b03bc4f7402a8c73835362e9dba749..f2946338b9be9f51336bae0e92448f41012607bc 100644 |
--- a/include/device/xps/SkXPSDevice.h |
+++ b/include/device/xps/SkXPSDevice.h |
@@ -9,6 +9,9 @@ |
#define SkXPSDevice_DEFINED |
#include "SkTypes.h" |
+ |
+#ifdef SK_SUPPORT_XPS |
+ |
#include <ObjBase.h> |
#include <XpsObjectModel.h> |
@@ -119,13 +122,6 @@ protected: |
const SkScalar pos[], int scalarsPerPos, |
const SkPoint& offset, const SkPaint& paint) SK_OVERRIDE; |
- virtual void drawTextOnPath( |
- const SkDraw&, |
- const void* text, size_t len, |
- const SkPath& path, |
- const SkMatrix* matrix, |
- const SkPaint& paint) SK_OVERRIDE; |
- |
virtual void drawVertices( |
const SkDraw&, |
SkCanvas::VertexMode, |
@@ -326,4 +322,5 @@ private: |
typedef SkBitmapDevice INHERITED; |
}; |
-#endif |
+#endif // SK_SUPPORT_XPS |
+#endif // SkXPSDevice_DEFINED |