aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPathEffect.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-16 13:05:06 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-16 13:05:06 +0000
commit353482251e61971a8cf3a60bbb6910f482be634f (patch)
treee2e949700595d0ede0bdabc531bedbcbc0102f7e /src/core/SkPathEffect.cpp
parentd36522d12d3e71958e50683a7eef43dc2a47d96d (diff)
force readbuffer clients to use specialized readFoo for flattenables
BUG= R=mtklein@google.com Review URL: https://codereview.chromium.org/26702002 git-svn-id: http://skia.googlecode.com/svn/trunk@11803 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkPathEffect.cpp')
-rw-r--r--src/core/SkPathEffect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkPathEffect.cpp b/src/core/SkPathEffect.cpp
index 8306d7aa51..e7f68225c3 100644
--- a/src/core/SkPathEffect.cpp
+++ b/src/core/SkPathEffect.cpp
@@ -48,8 +48,8 @@ void SkPairPathEffect::flatten(SkFlattenableWriteBuffer& buffer) const {
}
SkPairPathEffect::SkPairPathEffect(SkFlattenableReadBuffer& buffer) {
- fPE0 = buffer.readFlattenableT<SkPathEffect>();
- fPE1 = buffer.readFlattenableT<SkPathEffect>();
+ fPE0 = buffer.readPathEffect();
+ fPE1 = buffer.readPathEffect();
// either of these may fail, so we have to check for nulls later on
}