| Index: src/utils/SkDeferredCanvas.cpp
|
| diff --git a/src/utils/SkDeferredCanvas.cpp b/src/utils/SkDeferredCanvas.cpp
|
| index 7da85327167b1d7823a681378051f4bd02579928..8fe9f8a4b59e5651fa3f057b42978fd9ef220fca 100644
|
| --- a/src/utils/SkDeferredCanvas.cpp
|
| +++ b/src/utils/SkDeferredCanvas.cpp
|
| @@ -68,7 +68,7 @@ public:
|
| void* requestBlock(size_t minRequest, size_t* actual) SK_OVERRIDE;
|
| void notifyWritten(size_t bytes) SK_OVERRIDE;
|
| void playback(bool silent);
|
| - bool hasPendingCommands() const { return fAllocator.blockCount() != 0; }
|
| + bool hasPendingCommands() const { return fAllocator.totalUsed() != 0; }
|
| size_t storageAllocatedForRecording() const { return fAllocator.totalCapacity(); }
|
| private:
|
| enum {
|
|
|