summaryrefslogtreecommitdiffstats
path: root/Source/WebKit
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2012-03-08 16:09:15 -0800
committerChris Craik <ccraik@google.com>2012-03-09 14:05:51 -0800
commitf7ad77dc2a981834d664fd24022c3dfade69c8aa (patch)
treedbbf9e1483b1f371c22505b4faa62801bf47697f /Source/WebKit
parent1a3ed28020480a9db46e41b02a48db209e3d9560 (diff)
downloadexternal_webkit-f7ad77dc2a981834d664fd24022c3dfade69c8aa.zip
external_webkit-f7ad77dc2a981834d664fd24022c3dfade69c8aa.tar.gz
external_webkit-f7ad77dc2a981834d664fd24022c3dfade69c8aa.tar.bz2
Replace picture count with the SurfaceCollection count
Displays surface collection count on tiles when visual indicator is on. Change-Id: Ibe90792279849baff6f5bf0d71b80d9081471dc4
Diffstat (limited to 'Source/WebKit')
-rw-r--r--Source/WebKit/android/jni/ViewStateSerializer.cpp1
-rw-r--r--Source/WebKit/android/nav/WebView.cpp3
2 files changed, 1 insertions, 3 deletions
diff --git a/Source/WebKit/android/jni/ViewStateSerializer.cpp b/Source/WebKit/android/jni/ViewStateSerializer.cpp
index a96b6b4..dc9c72d 100644
--- a/Source/WebKit/android/jni/ViewStateSerializer.cpp
+++ b/Source/WebKit/android/jni/ViewStateSerializer.cpp
@@ -473,7 +473,6 @@ LayerAndroid* deserializeLayer(int version, SkStream* stream)
if (childLayer)
layer->addChild(childLayer);
}
- layer->needsRepaint();
XLOG("Created layer with id %d", layer->uniqueId());
return layer;
}
diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp
index 8b7acc5..fadf1f0 100644
--- a/Source/WebKit/android/nav/WebView.cpp
+++ b/Source/WebKit/android/nav/WebView.cpp
@@ -258,7 +258,6 @@ bool drawGL(WebCore::IntRect& viewRect, WebCore::IntRect* invalRect,
DrawExtra* extra = getDrawExtra((DrawExtras) extras);
- unsigned int pic = m_glWebViewState->currentPictureCounter();
m_glWebViewState->glExtras()->setDrawExtra(extra);
// Make sure we have valid coordinates. We might not have valid coords
@@ -280,7 +279,7 @@ bool drawGL(WebCore::IntRect& viewRect, WebCore::IntRect* invalRect,
checkException(env);
}
}
- if (ret || m_glWebViewState->currentPictureCounter() != pic)
+ if (ret)
return !m_isDrawingPaused;
#endif
return false;