commit | 0c753e5c268ef88dee3cb5356f58b43a1e58fbf2 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Tue Aug 09 07:40:23 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Aug 09 07:40:23 2016 -0700 |
tree | 5b3d4dc7a234bff739e4515165b8646bd89b9a41 | |
parent | 8369e32a05543c2619b1d7e740fe6ff6d2f03af3 [diff] [blame] |
Purge the SkLiteDL freelist when PurgeAllCaches() is called. Seems like the polite thing to do. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2228953002 Review-Url: https://codereview.chromium.org/2228953002
diff --git a/src/core/SkLiteDL.h b/src/core/SkLiteDL.h index 072672d..a0c1685 100644 --- a/src/core/SkLiteDL.h +++ b/src/core/SkLiteDL.h
@@ -21,6 +21,8 @@ public: static sk_sp<SkLiteDL> New(SkRect); + static void PurgeFreelist(); + void optimizeFor(GrContext*); void makeThreadsafe();