diff options
author | Chris Craik <ccraik@google.com> | 2011-09-23 16:33:32 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-09-23 16:33:32 -0700 |
commit | f9809bf9acc8b8a1883affc7f589838e988fd304 (patch) | |
tree | 516acf88757751d6b417d3b80563510cd5be2eec | |
parent | 301c476ad4d477afb9fa74823d6afa3188080202 (diff) | |
parent | 874e5fbe3113052b0e3b7068d4b8df89bdeb4579 (diff) | |
download | external_webkit-f9809bf9acc8b8a1883affc7f589838e988fd304.zip external_webkit-f9809bf9acc8b8a1883affc7f589838e988fd304.tar.gz external_webkit-f9809bf9acc8b8a1883affc7f589838e988fd304.tar.bz2 |
Merge "Crash if stack is corrupted"
-rw-r--r-- | Source/WebCore/platform/graphics/android/GLWebViewState.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/GLWebViewState.cpp b/Source/WebCore/platform/graphics/android/GLWebViewState.cpp index 9e0b3a9..cd93f36 100644 --- a/Source/WebCore/platform/graphics/android/GLWebViewState.cpp +++ b/Source/WebCore/platform/graphics/android/GLWebViewState.cpp @@ -569,8 +569,10 @@ 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(); |