OSDN Git Service

Revert crash on bad scale - do not merge
authorChris Craik <ccraik@google.com>
Tue, 11 Oct 2011 23:10:50 +0000 (16:10 -0700)
committerChris Craik <ccraik@google.com>
Tue, 11 Oct 2011 23:10:50 +0000 (16:10 -0700)
bug:5367327
Change-Id: I94589e007f9669fa1b43ab5cee42bfa44d9e503c

Source/WebCore/platform/graphics/android/GLWebViewState.cpp

index 9f266d2..9e0ccf0 100644 (file)
@@ -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();