diff options
author | Steve Block <steveblock@google.com> | 2012-02-22 16:11:27 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-02-22 16:45:20 +0000 |
commit | fa20d5d7a15b724e0209ba319750249dcd540402 (patch) | |
tree | c04b3910016b680abcbeabcfef75f5553e22747f /Source | |
parent | de300297b89e1786d745a2971bd0e2df50a407df (diff) | |
download | external_webkit-fa20d5d7a15b724e0209ba319750249dcd540402.zip external_webkit-fa20d5d7a15b724e0209ba319750249dcd540402.tar.gz external_webkit-fa20d5d7a15b724e0209ba319750249dcd540402.tar.bz2 |
Remove unused cache methods
WebFrame::SetCacheDisabled() has been unused since
https://mondrian.corp.google.com/changelist/33679-p9, so the WebCore cache is
always enabled.
WebFrame::CacheDisabled() has been unused since
https://mondrian.corp.google.com/changelist/32803-p9 (see change to WebView).
See framework change https://android-git.corp.google.com/g/167297.
Change-Id: I4040aa24a1b269d506623ffbc5c0cf3d8353be0c
Diffstat (limited to 'Source')
-rw-r--r-- | Source/WebKit/android/jni/WebCoreFrameBridge.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/WebKit/android/jni/WebCoreFrameBridge.cpp b/Source/WebKit/android/jni/WebCoreFrameBridge.cpp index 50c1fb2..2724d6b 100644 --- a/Source/WebKit/android/jni/WebCoreFrameBridge.cpp +++ b/Source/WebKit/android/jni/WebCoreFrameBridge.cpp @@ -1703,16 +1703,6 @@ static void AddJavascriptInterface(JNIEnv *env, jobject obj, jint nativeFramePoi } } -static void SetCacheDisabled(JNIEnv *env, jobject obj, jboolean disabled) -{ - WebCore::memoryCache()->setDisabled(disabled); -} - -static jboolean CacheDisabled(JNIEnv *env, jobject obj) -{ - return WebCore::memoryCache()->disabled(); -} - static void ClearWebCoreCache() { if (!WebCore::memoryCache()->disabled()) { @@ -2084,10 +2074,6 @@ static JNINativeMethod gBrowserFrameNativeMethods[] = { { "stringByEvaluatingJavaScriptFromString", "(Ljava/lang/String;)Ljava/lang/String;", (void*) StringByEvaluatingJavaScriptFromString }, - { "setCacheDisabled", "(Z)V", - (void*) SetCacheDisabled }, - { "cacheDisabled", "()Z", - (void*) CacheDisabled }, { "clearCache", "()V", (void*) ClearCache }, { "documentHasImages", "()Z", |