aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-03-19 15:36:44 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-19 21:28:46 +0000
commit3b68882918e30e87a46b833ed5e6d8b231f638e0 (patch)
treeb56fc6df8c62409cc0d69f65d0c305d736d39715 /include
parent19eaf2dbe785a06b76f11c2066c302f0aa89d5d2 (diff)
remove imageinfo flatten altogether
If SkImageInfo flatten and unflatten aren't referenced outside of one test, perhaps they can be removed altogether. R=reed@google.com Bug: skia:6898 Change-Id: Ia6f82b66d4496a628ad95c386d1865793f3e31a9 Reviewed-on: https://skia-review.googlesource.com/115074 Commit-Queue: Cary Clark <caryclark@skia.org> Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkImageInfo.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/core/SkImageInfo.h b/include/core/SkImageInfo.h
index ece47f5c41..1efb332750 100644
--- a/include/core/SkImageInfo.h
+++ b/include/core/SkImageInfo.h
@@ -260,9 +260,6 @@ public:
return !(*this == other);
}
- void unflatten(SkReadBuffer& buffer);
- void flatten(SkWriteBuffer& buffer) const;
-
/**
* Returns the size (in bytes) of the image buffer that this info needs, given the specified
* rowBytes. The rowBytes must be >= this->minRowBytes().