Templetized SkWriter32 readTAt() & overwriteTAt()
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 11 Feb 2014 22:38:51 +0000 (22:38 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 11 Feb 2014 22:38:51 +0000 (22:38 +0000)
commit536ac5e20c2ec2008993c0677ba8cbc5ae0f34cf
tree2a2c8d98a08e3ad2fecb7ea2d66331a7a713186f
parent14747e58f8127a6d6b3c748bf0642b0d6a3a79e8
Templetized SkWriter32 readTAt() & overwriteTAt()

Convert SkWriter32::{read,write}32At() to ::{read,overwrite}TAt<>() to allow
peeking/updating arbitrary records.

BUG=skia:
R=mtklein@google.com, reed@google.com, robertphillips@google.com, iancottrell@chromium.org

Author: fmalita@chromium.org

Review URL: https://codereview.chromium.org/130913018

git-svn-id: http://skia.googlecode.com/svn/trunk@13416 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkWriter32.h
src/core/SkMatrixClipStateMgr.cpp
src/core/SkPictureRecord.cpp
src/core/SkWriteBuffer.cpp
src/core/SkWriter32.cpp
tests/Writer32Test.cpp