diff options
| author | Chris Craik <ccraik@google.com> | 2012-03-09 16:17:27 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-03-09 16:17:27 -0800 |
| commit | 1b54fe32a2615bc9df11de78e35f5adb730d0824 (patch) | |
| tree | 41876d98cda8140ceac21f896b0edd3de73c00fb /Source/WebKit/android/nav | |
| parent | d7119ab05effda975f4a88110559b808b76d7b8c (diff) | |
| parent | f7ad77dc2a981834d664fd24022c3dfade69c8aa (diff) | |
| download | external_webkit-1b54fe32a2615bc9df11de78e35f5adb730d0824.zip external_webkit-1b54fe32a2615bc9df11de78e35f5adb730d0824.tar.gz external_webkit-1b54fe32a2615bc9df11de78e35f5adb730d0824.tar.bz2 | |
Merge "Replace picture count with the SurfaceCollection count"
Diffstat (limited to 'Source/WebKit/android/nav')
| -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; |
