diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-06 15:01:48 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-06 15:01:48 +0000 |
commit | 7627c657b039ea9aa2a01a7d74e652fe7e27def4 (patch) | |
tree | ea3153215c1e99dcac82b59bc3892f3478ecad57 /include | |
parent | ba82bd11e2c055f885b2327aa230d2dac8b53f03 (diff) |
add rowBytes param to setPreLock, in prep for onNewLockPixels change
need _win.cc change from https://codereview.chromium.org/124503002/ when this lands in chrome
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/125063002
git-svn-id: http://skia.googlecode.com/svn/trunk@12907 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPixelRef.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h index 6700eb4def..3c260be9a7 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 |