Index: include/core/SkPixelRef.h |
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h |
index 6700eb4defa4f8f6fe70c39205d35ee2d276a108..3c260be9a77b5310d363b93ddfec3115e1be2d66 100644 |
--- a/include/core/SkPixelRef.h |
+++ b/include/core/SkPixelRef.h |
@@ -305,7 +305,7 @@ protected: |
// only call from constructor. Flags this to always be locked, removing |
// the need to grab the mutex and call onLockPixels/onUnlockPixels. |
// Performance tweak to avoid those calls (esp. in multi-thread use case). |
- void setPreLocked(void* pixels, SkColorTable* ctable); |
+ void setPreLocked(void* pixels, size_t rowBytes, SkColorTable* ctable); |
private: |
SkBaseMutex* fMutex; // must remain in scope for the life of this object |