summaryrefslogtreecommitdiffstats
path: root/WebKit/android
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2009-08-27 16:38:57 +0100
committerAndrei Popescu <andreip@google.com>2009-08-27 16:38:57 +0100
commit52559759e1a4787355bb696c2087b66106a743aa (patch)
tree28f944cddb7f8c454ecc42782d601b05bccaf85f /WebKit/android
parent0f82798793b832a16d65ccf243da73439a230829 (diff)
downloadexternal_webkit-52559759e1a4787355bb696c2087b66106a743aa.zip
external_webkit-52559759e1a4787355bb696c2087b66106a743aa.tar.gz
external_webkit-52559759e1a4787355bb696c2087b66106a743aa.tar.bz2
Use v8::V8::LowMemoryNotification() instead of the non-really-existibg v8::V8::CollectAllGarbage()
Diffstat (limited to 'WebKit/android')
-rw-r--r--WebKit/android/jni/WebCoreFrameBridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/android/jni/WebCoreFrameBridge.cpp b/WebKit/android/jni/WebCoreFrameBridge.cpp
index 17b908d..5145a85 100644
--- a/WebKit/android/jni/WebCoreFrameBridge.cpp
+++ b/WebKit/android/jni/WebCoreFrameBridge.cpp
@@ -1139,7 +1139,7 @@ static void ClearCache(JNIEnv *env, jobject obj)
WebCore::gcController().garbageCollectSoon();
#elif USE(V8)
WebCore::Frame* pFrame = GET_NATIVE_FRAME(env, obj);
- pFrame->script()->collectGarbage();
+ pFrame->script()->lowMemoryNotification();
#endif // USE(JSC)
}