summaryrefslogtreecommitdiffstats
path: root/WebKit
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2010-03-18 17:06:20 -0700
committerBrian Carlstrom <bdc@google.com>2010-03-18 17:06:20 -0700
commitf01c21d54785d63df0db74c889d697c3f4e0aa7a (patch)
treeaef7954b1c6f15781ce27711a1aa062789ca6a7e /WebKit
parent157cb82d9562207b3d38fb0a4baacb24cb7747ba (diff)
downloadexternal_webkit-f01c21d54785d63df0db74c889d697c3f4e0aa7a.zip
external_webkit-f01c21d54785d63df0db74c889d697c3f4e0aa7a.tar.gz
external_webkit-f01c21d54785d63df0db74c889d697c3f4e0aa7a.tar.bz2
Fix comment from "WebView.LOAD_*" to "WebSettings.LOAD_*"
While improving the javadoc for android.webkit.BrowserFrame.startLoadingResource, I noticed that the Java class metioned in the C++ comments was wrong. Change-Id: Ibf6234735fc6b92b444f6cf3b4c6bb5c33675525
Diffstat (limited to 'WebKit')
-rw-r--r--WebKit/android/jni/WebCoreFrameBridge.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebKit/android/jni/WebCoreFrameBridge.cpp b/WebKit/android/jni/WebCoreFrameBridge.cpp
index db85357..ff7e868 100644
--- a/WebKit/android/jni/WebCoreFrameBridge.cpp
+++ b/WebKit/android/jni/WebCoreFrameBridge.cpp
@@ -457,16 +457,16 @@ WebFrame::startLoadingResource(WebCore::ResourceHandle* loader,
jobject jHeaderMap = createJavaMapFromHTTPHeaders(env, headers);
// Convert the WebCore Cache Policy to a WebView Cache Policy.
- int cacheMode = 0; // WebView.LOAD_NORMAL
+ int cacheMode = 0; // WebSettings.LOAD_NORMAL
switch (request.cachePolicy()) {
case WebCore::ReloadIgnoringCacheData:
- cacheMode = 2; // WebView.LOAD_NO_CACHE
+ cacheMode = 2; // WebSettings.LOAD_NO_CACHE
break;
case WebCore::ReturnCacheDataDontLoad:
- cacheMode = 3; // WebView.LOAD_CACHE_ONLY
+ cacheMode = 3; // WebSettings.LOAD_CACHE_ONLY
break;
case WebCore::ReturnCacheDataElseLoad:
- cacheMode = 1; // WebView.LOAD_CACHE_ELSE_NETWORK
+ cacheMode = 1; // WebSettings.LOAD_CACHE_ELSE_NETWORK
break;
case WebCore::UseProtocolCachePolicy:
default: