aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPictureRecord.h
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-15 17:47:36 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-15 17:47:36 +0000
commit8b169311b59ab84e8ca6f3630a1e960cc1be751e (patch)
tree5d9ec712d281a81183fed5b650b1f9a92ae7cad4 /src/core/SkPictureRecord.h
parentbaa15581f6cbd9ce4cc5ba5eb1d6fcbe27ae6741 (diff)
Second wave of Win64 warning cleanup
Diffstat (limited to 'src/core/SkPictureRecord.h')
-rw-r--r--src/core/SkPictureRecord.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h
index a1eb40ab59..d80182cf8c 100644
--- a/src/core/SkPictureRecord.h
+++ b/src/core/SkPictureRecord.h
@@ -130,8 +130,8 @@ private:
* end of blocks could go unused). Possibly add a second addDraw that
* operates in this manner.
*/
- uint32_t addDraw(DrawType drawType, uint32_t* size) {
- uint32_t offset = fWriter.size();
+ size_t addDraw(DrawType drawType, uint32_t* size) {
+ size_t offset = fWriter.size();
this->predrawNotify();
@@ -202,7 +202,7 @@ public:
#ifdef SK_DEBUG_VALIDATE
public:
- void validate(uint32_t initialOffset, uint32_t size) const;
+ void validate(size_t initialOffset, uint32_t size) const;
private:
void validateBitmaps() const;
void validateMatrices() const;
@@ -211,7 +211,7 @@ private:
void validateRegions() const;
#else
public:
- void validate(uint32_t initialOffset, uint32_t size) const {
+ void validate(size_t initialOffset, uint32_t size) const {
SkASSERT(fWriter.size() == initialOffset + size);
}
#endif