diff options
| author | Grace Kloba <klobag@google.com> | 2009-11-09 13:44:38 -0800 |
|---|---|---|
| committer | Grace Kloba <klobag@google.com> | 2009-11-09 13:44:38 -0800 |
| commit | 13849e573d5c1d04724e37d543bd5b95f7445d8a (patch) | |
| tree | 8fc5af1e4e951056eab5e51913cdc8d21d65797f /WebKit/android/jni/WebCoreResourceLoader.cpp | |
| parent | 1e3557295c152b901e406d0dc6e810f033d8c4db (diff) | |
| parent | ef7b176b34c6a1fe082a87dd17523e47737c1e19 (diff) | |
| download | external_webkit-13849e573d5c1d04724e37d543bd5b95f7445d8a.zip external_webkit-13849e573d5c1d04724e37d543bd5b95f7445d8a.tar.gz external_webkit-13849e573d5c1d04724e37d543bd5b95f7445d8a.tar.bz2 | |
resolved conflicts for merge of ef7b176b to master
Diffstat (limited to 'WebKit/android/jni/WebCoreResourceLoader.cpp')
| -rw-r--r-- | WebKit/android/jni/WebCoreResourceLoader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WebKit/android/jni/WebCoreResourceLoader.cpp b/WebKit/android/jni/WebCoreResourceLoader.cpp index 1b40eb6..0891323 100644 --- a/WebKit/android/jni/WebCoreResourceLoader.cpp +++ b/WebKit/android/jni/WebCoreResourceLoader.cpp @@ -100,14 +100,14 @@ void WebCoreResourceLoader::downloadFile() * the cache. This may be slow, but is only used during a navigation to * a POST response. */ -bool WebCoreResourceLoader::willLoadFromCache(const WebCore::KURL& url) +bool WebCoreResourceLoader::willLoadFromCache(const WebCore::KURL& url, int64_t identifier) { JNIEnv* env = JSC::Bindings::getJNIEnv(); WebCore::String urlStr = url.string(); jstring jUrlStr = env->NewString(urlStr.characters(), urlStr.length()); jclass resourceLoader = env->FindClass("android/webkit/LoadListener"); bool val = env->CallStaticBooleanMethod(resourceLoader, - gResourceLoader.mWillLoadFromCacheMethodID, jUrlStr); + gResourceLoader.mWillLoadFromCacheMethodID, jUrlStr, identifier); checkException(env); env->DeleteLocalRef(jUrlStr); @@ -318,7 +318,7 @@ int register_resource_loader(JNIEnv* env) "Could not find method downloadFile on LoadListener"); gResourceLoader.mWillLoadFromCacheMethodID = - env->GetStaticMethodID(resourceLoader, "willLoadFromCache", "(Ljava/lang/String;)Z"); + env->GetStaticMethodID(resourceLoader, "willLoadFromCache", "(Ljava/lang/String;J)Z"); LOG_FATAL_IF(gResourceLoader.mWillLoadFromCacheMethodID == NULL, "Could not find static method willLoadFromCache on LoadListener"); |
