aboutsummaryrefslogtreecommitdiffhomepage
path: root/fuzz/oss_fuzz
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-07-17 08:59:34 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-17 17:01:20 +0000
commit53c876900247ad700ce28f7b33031047a6cff402 (patch)
treed3dbf21cb7c6b7b2af6a718ce0a431b0f5404b2a /fuzz/oss_fuzz
parent462417d3d8683a8efe3b4d5813b972e478655ac3 (diff)
remove unused untested parts of text blob
SkTextBlob has a number of untested entry points to serialize and deserialize. Privitize ones only used by Skia, and remove ones suspected to be unused and untested. R=fmalita@chromium.org TBR=reed@google.com,bsalomon@google.com Bug: skia:6818 Change-Id: I6a9982a26a883982af3592f3302029a1bcdf5aa3 Reviewed-on: https://skia-review.googlesource.com/141820 Reviewed-by: Florin Malita <fmalita@chromium.org> Reviewed-by: Cary Clark <caryclark@skia.org> Commit-Queue: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'fuzz/oss_fuzz')
-rw-r--r--fuzz/oss_fuzz/FuzzTextBlobDeserialize.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz/oss_fuzz/FuzzTextBlobDeserialize.cpp b/fuzz/oss_fuzz/FuzzTextBlobDeserialize.cpp
index 544b00ddaf..de68bcc5ff 100644
--- a/fuzz/oss_fuzz/FuzzTextBlobDeserialize.cpp
+++ b/fuzz/oss_fuzz/FuzzTextBlobDeserialize.cpp
@@ -9,10 +9,10 @@
#include "SkPaint.h"
#include "SkReadBuffer.h"
#include "SkSurface.h"
-#include "SkTextBlob.h"
+#include "SkTextBlobPriv.h"
void FuzzTextBlobDeserialize(SkReadBuffer& buf) {
- auto tb = SkTextBlob::MakeFromBuffer(buf);
+ auto tb = SkTextBlobPriv::MakeFromBuffer(buf);
if (!buf.isValid()) {
return;
}