Index: src/core/SkLiteDL.h |
diff --git a/src/core/SkLiteDL.h b/src/core/SkLiteDL.h |
index d53c8de1512cc553f5fcb77c6ba20fdb475cf2c9..27b6e925799d69f537e649284cbc9bb955ded30c 100644 |
--- a/src/core/SkLiteDL.h |
+++ b/src/core/SkLiteDL.h |
@@ -24,7 +24,7 @@ public: |
void optimizeFor(GrContext*); |
void makeThreadsafe(); |
- bool empty() const; |
+ bool empty() const { return fUsed == 0; } |
void save(); |
void saveLayer(const SkRect*, const SkPaint*, const SkImageFilter*, SkCanvas::SaveLayerFlags); |