summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-04-28 12:29:22 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-04-28 12:29:22 -0700
commitcaa864796d441dce5dc8a5373e19767af14ab12c (patch)
treea4300c22a22fd8cbe1f8b9957f4187837f5a2845
parent870c40582102e848fd71f82a9e65e7dbd7b8835c (diff)
parent4890a57d679e64599a304dd92c10b3f02047db49 (diff)
downloadexternal_webkit-caa864796d441dce5dc8a5373e19767af14ab12c.zip
external_webkit-caa864796d441dce5dc8a5373e19767af14ab12c.tar.gz
external_webkit-caa864796d441dce5dc8a5373e19767af14ab12c.tar.bz2
Merge change 598 into donut
* changes: Remove call to purge image-cache. Now handled by ActivityThread
-rw-r--r--WebKit/android/jni/WebCoreFrameBridge.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/WebKit/android/jni/WebCoreFrameBridge.cpp b/WebKit/android/jni/WebCoreFrameBridge.cpp
index e90d1a9..8c34354 100644
--- a/WebKit/android/jni/WebCoreFrameBridge.cpp
+++ b/WebKit/android/jni/WebCoreFrameBridge.cpp
@@ -90,7 +90,6 @@
#include <JNIHelp.h>
#include <SkGraphics.h>
-#include <SkImageRef_GlobalPool.h>
#include <utils/misc.h>
#include <utils/AssetManager.h>
#include <android_runtime/android_util_AssetManager.h>
@@ -1050,8 +1049,6 @@ static void ClearCache(JNIEnv *env, jobject obj)
}
// force JavaScript to GC when clear cache
WebCore::gcController().garbageCollectSoon();
- // clear image cache
- SkImageRef_GlobalPool::SetRAMUsed(0);
}
static jboolean DocumentHasImages(JNIEnv *env, jobject obj)