diff options
author | mtklein <mtklein@chromium.org> | 2015-01-23 11:07:07 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-23 11:07:08 -0800 |
commit | 1c4029296f518a84ef90095243ba210163a1e1f9 (patch) | |
tree | 11136d02e081edc4f2367b8448ee76e2dd856fed /gm/fontmgr.cpp | |
parent | a3ca15c314c72d1e4ffff38d0937a382c1e6d2de (diff) |
remove unused GM flags
Depends on https://codereview.chromium.org/873753002/
Thumbs up to CLion for refactoring this for me.
BUG=skia:
Review URL: https://codereview.chromium.org/867963004
Diffstat (limited to 'gm/fontmgr.cpp')
-rw-r--r-- | gm/fontmgr.cpp | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/gm/fontmgr.cpp b/gm/fontmgr.cpp index 9d0e3509f1..e89e585fde 100644 --- a/gm/fontmgr.cpp +++ b/gm/fontmgr.cpp @@ -115,16 +115,6 @@ protected: } } - uint32_t onGetFlags() const SK_OVERRIDE { - // fontdescriptors (and therefore serialization) don't yet understand - // these new styles, so skip tests that exercise that for now. - - // If certain fonts are picked up (e.g. Microsoft Jhenghei 20MB for Regular, 12MB for Bold), - // the resulting pdf can be ~700MB and crashes Chrome's PDF viewer. - - return kSkipPicture_Flag | kSkipPipe_Flag | kSkipPDF_Flag; - } - private: SkAutoTUnref<SkFontMgr> fFM; SkString fName; @@ -214,12 +204,6 @@ protected: this->iterateFamily(canvas, paint, fset); } - uint32_t onGetFlags() const SK_OVERRIDE { - // fontdescriptors (and therefore serialization) don't yet understand - // these new styles, so skip tests that exercise that for now. - return kSkipPicture_Flag | kSkipPipe_Flag; - } - private: typedef GM INHERITED; }; @@ -299,17 +283,7 @@ protected: } } } - - uint32_t onGetFlags() const SK_OVERRIDE { - // fontdescriptors (and therefore serialization) don't yet understand - // these new styles, so skip tests that exercise that for now. - - // If certain fonts are picked up (e.g. Microsoft Jhenghei 20MB for Regular, 12MB for Bold), - // the resulting pdf can be ~700MB and crashes Chrome's PDF viewer. - - return kSkipPicture_Flag | kSkipPipe_Flag | kSkipPDF_Flag; - } - + private: SkAutoTUnref<SkFontMgr> fFM; SkString fName; |