summaryrefslogtreecommitdiffstats
path: root/include/minikin
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2016-03-03 15:33:33 -0800
committerSeigo Nonaka <nona@google.com>2016-03-03 15:51:55 -0800
commitcee83d40324b1f3b8e113eb8c9eda8e12ef36923 (patch)
tree33b8cfc5aefcaec1f8c76d64a424b976c061f361 /include/minikin
parent450e96c8170c3d59a5896e734c90d3f9def505f8 (diff)
downloadandroid_frameworks_minikin-cee83d40324b1f3b8e113eb8c9eda8e12ef36923.tar.gz
android_frameworks_minikin-cee83d40324b1f3b8e113eb8c9eda8e12ef36923.tar.bz2
android_frameworks_minikin-cee83d40324b1f3b8e113eb8c9eda8e12ef36923.zip
Suppress log span due to returning null for itemize result.
Bug: 26808815 Change-Id: I2a5a52f2c441d27c7ef270342b4ef93c3de9e56e
Diffstat (limited to 'include/minikin')
-rw-r--r--include/minikin/FontCollection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/minikin/FontCollection.h b/include/minikin/FontCollection.h
index 5b9424c..c3c183d 100644
--- a/include/minikin/FontCollection.h
+++ b/include/minikin/FontCollection.h
@@ -84,9 +84,11 @@ private:
uint32_t mMaxChar;
// This vector has ownership of the bitsets and typeface objects.
+ // This vector can't be empty.
std::vector<FontFamily*> mFamilies;
// This vector contains pointers into mInstances
+ // This vector can't be empty.
std::vector<FontFamily*> mFamilyVec;
// This vector has pointers to the font family instance which has cmap 14 subtable.