summaryrefslogtreecommitdiffstats
path: root/core/jni/android
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-02-06 14:45:36 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-02-06 14:45:36 -0800
commit0a3f6d69b6e5242d5eaca6ede801eaabbff56cfd (patch)
treed514a92139f752828db85e942c000940d258d373 /core/jni/android
parente75abda25a4a638599b36ba8dc21fe4ddefd61ab (diff)
parent33476f7ad1c3b4dcaefddb306f315e201c4efb33 (diff)
downloadframeworks_base-0a3f6d69b6e5242d5eaca6ede801eaabbff56cfd.zip
frameworks_base-0a3f6d69b6e5242d5eaca6ede801eaabbff56cfd.tar.gz
frameworks_base-0a3f6d69b6e5242d5eaca6ede801eaabbff56cfd.tar.bz2
am 33476f7a: am f79bcd2d: am 52da99fa: am a081c7b8: Merge "Skia API changes as a result of an update to the Skia library."
* commit '33476f7ad1c3b4dcaefddb306f315e201c4efb33': Skia API changes as a result of an update to the Skia library.
Diffstat (limited to 'core/jni/android')
-rw-r--r--core/jni/android/graphics/Canvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android/graphics/Canvas.cpp b/core/jni/android/graphics/Canvas.cpp
index 23ee8f8..ef6af74 100644
--- a/core/jni/android/graphics/Canvas.cpp
+++ b/core/jni/android/graphics/Canvas.cpp
@@ -67,7 +67,7 @@ public:
static void freeCaches(JNIEnv* env, jobject) {
// these are called in no particular order
SkImageRef_GlobalPool::SetRAMUsed(0);
- SkGraphics::SetFontCacheUsed(0);
+ SkGraphics::PurgeFontCache();
}
static jboolean isOpaque(JNIEnv* env, jobject jcanvas) {