diff options
author | John Reck <jreck@google.com> | 2011-05-05 12:59:45 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-05-05 12:59:45 -0700 |
commit | 9fbf12a938dbcdbea0987ea89402a07e8d130830 (patch) | |
tree | 46a2d555491fe83d530533ce1e97d6a6d1eebc2f | |
parent | cef717ff0869605896b43ea1c86b5c0fa96c2c81 (diff) | |
download | external_webkit-9fbf12a938dbcdbea0987ea89402a07e8d130830.zip external_webkit-9fbf12a938dbcdbea0987ea89402a07e8d130830.tar.gz external_webkit-9fbf12a938dbcdbea0987ea89402a07e8d130830.tar.bz2 |
Fix issue with zooming in then out very quickly
Change-Id: I38d38d9c84a32182c84c3f89365ea8760664bd52
-rw-r--r-- | WebCore/platform/graphics/android/BaseLayerAndroid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/BaseLayerAndroid.cpp b/WebCore/platform/graphics/android/BaseLayerAndroid.cpp index ebf8c88..09d80a1 100644 --- a/WebCore/platform/graphics/android/BaseLayerAndroid.cpp +++ b/WebCore/platform/graphics/android/BaseLayerAndroid.cpp @@ -140,8 +140,8 @@ bool BaseLayerAndroid::drawBasePictureInGL(SkRect& viewport, float scale, double // so that we do not slow down zooming unnecessarily. if (m_glWebViewState->currentScale() != scale && (m_glWebViewState->scaleRequestState() == GLWebViewState::kNoScaleRequest - || m_glWebViewState->scaleRequestState() == GLWebViewState::kWillScheduleRequest - || m_glWebViewState->futureScale() != scale)) { + || m_glWebViewState->futureScale() != scale) + || m_glWebViewState->scaleRequestState() == GLWebViewState::kWillScheduleRequest) { // schedule the new request m_glWebViewState->scheduleUpdate(currentTime, viewportTileBounds, scale); |