commit | fe81e2d274a4948491ed6d4bbce1c96ea0c8f9cd | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Wed Sep 09 07:35:42 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Sep 09 07:35:42 2015 -0700 |
tree | 2f2cfd77160c3c40b48e7de0d7bc072cbecb39a1 | |
parent | d9b8d7ac1fb4628f3411253c0fc6cd37e4ff0487 [diff] [blame] |
Make SkGraphics::Term a no-op, stop calling it. I'd remove it entirely but Android is calling it explicitly. BUG=skia:4259 Committed: https://skia.googlesource.com/skia/+/925979f733fe8e70d84627147dee04d030423349 Review URL: https://codereview.chromium.org/1329853005
diff --git a/include/core/SkGraphics.h b/include/core/SkGraphics.h index 8e8bd77..5aecc7a 100644 --- a/include/core/SkGraphics.h +++ b/include/core/SkGraphics.h
@@ -23,10 +23,8 @@ */ static void Init(); - /** - * Call this to release any memory held privately, such as the font cache. - */ - static void Term(); + // We're in the middle of cleaning this up. + static void Term() {} /** * Return the version numbers for the library. If the parameter is not @@ -169,9 +167,6 @@ SkAutoGraphics() { SkGraphics::Init(); } - ~SkAutoGraphics() { - SkGraphics::Term(); - } }; #endif