aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/typeface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/typeface.cpp')
-rw-r--r--gm/typeface.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gm/typeface.cpp b/gm/typeface.cpp
index 028e2a1ca3..fe43e756b8 100644
--- a/gm/typeface.cpp
+++ b/gm/typeface.cpp
@@ -89,10 +89,7 @@ class TypefaceStylesGM : public skiagm::GM {
bool fApplyKerning;
public:
- TypefaceStylesGM(bool applyKerning)
- : fApplyKerning(applyKerning) {
- memset(fFaces, 0, sizeof(fFaces));
- }
+ TypefaceStylesGM(bool applyKerning) : fApplyKerning(applyKerning) {}
protected:
void onOnceBeforeDraw() override {