summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/nav/WebView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/android/nav/WebView.cpp')
-rw-r--r--Source/WebKit/android/nav/WebView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp
index 132ed98..09b6c3d 100644
--- a/Source/WebKit/android/nav/WebView.cpp
+++ b/Source/WebKit/android/nav/WebView.cpp
@@ -1394,7 +1394,7 @@ static bool nativeSetProperty(JNIEnv *env, jobject obj, jstring jkey, jstring jv
return true;
}
else if (key == "tree_updates") {
- TilesManager::instance()->clearTreeUpdates();
+ TilesManager::instance()->clearContentUpdates();
return true;
}
return false;
@@ -1404,7 +1404,7 @@ static jstring nativeGetProperty(JNIEnv *env, jobject obj, jstring jkey)
{
WTF::String key = jstringToWtfString(env, jkey);
if (key == "tree_updates") {
- int updates = TilesManager::instance()->getTreeUpdates();
+ int updates = TilesManager::instance()->getContentUpdates();
WTF::String wtfUpdates = WTF::String::number(updates);
return wtfStringToJstring(env, wtfUpdates);
}