Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Unified Diff: src/core/SkGraphics.cpp

Issue 2228953002: Purge the SkLiteDL freelist when PurgeAllCaches() is called. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: stray static Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkLiteDL.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkGraphics.cpp
diff --git a/src/core/SkGraphics.cpp b/src/core/SkGraphics.cpp
index 01b1432ef0345ae3d99422f799ba9ff0d6982b3d..397d03bb81f0d3d66abd7be0abe13cc2c2e6ecab 100644
--- a/src/core/SkGraphics.cpp
+++ b/src/core/SkGraphics.cpp
@@ -14,6 +14,7 @@
#include "SkGeometry.h"
#include "SkGlyphCache.h"
#include "SkImageFilter.h"
+#include "SkLiteDL.h"
#include "SkMath.h"
#include "SkMatrix.h"
#include "SkOpts.h"
@@ -61,6 +62,7 @@ void SkGraphics::PurgeAllCaches() {
SkGraphics::PurgeFontCache();
SkGraphics::PurgeResourceCache();
SkImageFilter::PurgeCache();
+ SkLiteDL::PurgeFreelist();
}
///////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « no previous file | src/core/SkLiteDL.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698