Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index 9282267721eff192e66efd7d2cf2ace63cb9a9e0..e7dac5e145f726cd35a92b8a966cf46ea5e6088f 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -1259,12 +1259,12 @@ private: |
MCRec* fMCRec; |
// the first N recs that can fit here mean we won't call malloc |
enum { |
- kMCRecSize = 136, // most recent measurement |
- kMCRecCount = 8, // common depth for save/restores |
+ kMCRecSize = 128, // most recent measurement |
+ kMCRecCount = 8, // common depth for save/restores |
+ kDeviceCMSize = 136, // most recent measurement |
}; |
intptr_t fMCRecStorage[kMCRecSize * kMCRecCount / sizeof(intptr_t)]; |
- // for our base DeviceCM |
- intptr_t fBaseLayerStorage[kMCRecSize / sizeof(intptr_t)]; |
+ intptr_t fDeviceCMStorage[kDeviceCMSize / sizeof(intptr_t)]; |
const SkSurfaceProps fProps; |