Index: src/core/SkLiteDL.cpp |
diff --git a/src/core/SkLiteDL.cpp b/src/core/SkLiteDL.cpp |
index 73d6d16dbd7cca92ac1e57a258e2c1e1dc15ae2e..d6498897706cd141482821cd84b45821e1ffa118 100644 |
--- a/src/core/SkLiteDL.cpp |
+++ b/src/core/SkLiteDL.cpp |
@@ -755,6 +755,10 @@ SkRect SkLiteDL::onGetBounds() { |
return fBounds; |
} |
+bool SkLiteDL::empty() const { |
+ return fUsed == 0; |
+} |
+ |
#if !defined(SK_LITEDL_USES) |
#define SK_LITEDL_USES 16 |
#endif |