diff options
| author | Chris Craik <ccraik@google.com> | 2012-03-08 16:09:15 -0800 |
|---|---|---|
| committer | Chris Craik <ccraik@google.com> | 2012-03-09 14:05:51 -0800 |
| commit | f7ad77dc2a981834d664fd24022c3dfade69c8aa (patch) | |
| tree | dbbf9e1483b1f371c22505b4faa62801bf47697f /Source/WebKit/android/nav/WebView.cpp | |
| parent | 1a3ed28020480a9db46e41b02a48db209e3d9560 (diff) | |
| download | external_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/android/nav/WebView.cpp')
| -rw-r--r-- | Source/WebKit/android/nav/WebView.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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; |
