From d8be9016b7fda67a91b4ee17b3b2e7ba692ee553 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Thu, 23 Feb 2012 13:10:41 -0800 Subject: layer rendering cleanup/rewrite * added 'LayerGroup' class separate the painting/tiled features of a layer (eventually multiple layers) tiled drawing/preparing/counting details are abstracted out of LayerAndroid * added 'SurfaceCollection' class incorporates both the BaseLayerAndroid/LayerAndroid tree, as well as the vector of tiled LayerGroup * renamed 'TreeManager' to 'SurfaceManager' * Removes PaintedSurface was mostly a thin wrapper around DualTiledTexture * Combines TilePainter/SurfacePainter * Simplified ref counting Change-Id: I92c5c75f48d92e0e28812c56de00102399fc02ee --- Source/WebKit/android/nav/WebView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/WebKit/android/nav/WebView.cpp') diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp index 6aed700..2e74405 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); } -- cgit v1.1