OSDN Git Service
(root)
/
android-x86
/
external-webkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21afc17
)
Remove call to purge image-cache. Now handled by ActivityThread
author
Mike Reed
<reed@google.com>
Mon, 27 Apr 2009 18:33:09 +0000
(14:33 -0400)
committer
Mike Reed
<reed@google.com>
Mon, 27 Apr 2009 18:33:09 +0000
(14:33 -0400)
WebKit/android/jni/WebCoreFrameBridge.cpp
patch
|
blob
|
history
diff --git
a/WebKit/android/jni/WebCoreFrameBridge.cpp
b/WebKit/android/jni/WebCoreFrameBridge.cpp
index
e90d1a9
..
8c34354
100644
(file)
--- 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)