From dc193f393a845e88f55ecf0055386fc4e4204537 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Tue, 11 Oct 2011 16:10:50 -0700 Subject: Revert crash on bad scale - do not merge bug:5367327 Change-Id: I94589e007f9669fa1b43ab5cee42bfa44d9e503c --- Source/WebCore/platform/graphics/android/GLWebViewState.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Source/WebCore/platform/graphics/android/GLWebViewState.cpp') diff --git a/Source/WebCore/platform/graphics/android/GLWebViewState.cpp b/Source/WebCore/platform/graphics/android/GLWebViewState.cpp index 9f266d2..9e0ccf0 100644 --- a/Source/WebCore/platform/graphics/android/GLWebViewState.cpp +++ b/Source/WebCore/platform/graphics/android/GLWebViewState.cpp @@ -444,10 +444,8 @@ bool GLWebViewState::drawGL(IntRect& rect, SkRect& viewport, IntRect* invalRect, // the BaseTiles' texture. TilesManager::instance()->transferQueue()->updateDirtyBaseTiles(); - if (scale < MIN_SCALE_WARNING || scale > MAX_SCALE_WARNING) { + if (scale < MIN_SCALE_WARNING || scale > MAX_SCALE_WARNING) XLOGC("WARNING, scale seems corrupted after update: %e", scale); - CRASH(); - } // gather the textures we can use TilesManager::instance()->gatherLayerTextures(); -- cgit v1.1