Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: src/core/SkPictureRecord.h

Issue 130913018: Templetized SkWriter32 readTAt() & overwriteTAt() (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Win build fix Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/SkPictureRecord.h
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h
index 6d14c621aafb510dd5e13a6f01fa50f866c19992..069671a40cd5cebc7c8fe3377b3ff7fca7123e1f 100644
--- a/src/core/SkPictureRecord.h
+++ b/src/core/SkPictureRecord.h
@@ -156,7 +156,7 @@ private:
fWriter.writeInt(value);
}
void addScalar(SkScalar scalar) {
- fWriter.writeScalar(scalar);
+ fWriter.writeT<SkScalar>(scalar);
mtklein 2014/02/06 21:38:16 This may just be me, but when I see a call like th
f(malita) 2014/02/10 16:10:35 Will do.
}
void addBitmap(const SkBitmap& bitmap);

Powered by Google App Engine
This is Rietveld 408576698