From 425ef23631e3468c61a5740dd4e4bae3052cec48 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Fri, 11 May 2012 16:03:54 -0700 Subject: Fix stale tile problem bug:6483791 Update tile painter of outstanding operations Always schedule a paint operation if we can't update an outstanding one Remove old interruption code, as it's no longer used Change-Id: Ibcdb142d3d9b4ee7a52c78b5c121056089913211 --- Source/WebCore/platform/graphics/android/rendering/Surface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/WebCore/platform/graphics/android/rendering/Surface.cpp') diff --git a/Source/WebCore/platform/graphics/android/rendering/Surface.cpp b/Source/WebCore/platform/graphics/android/rendering/Surface.cpp index 7dd16dc..3b26ebc 100644 --- a/Source/WebCore/platform/graphics/android/rendering/Surface.cpp +++ b/Source/WebCore/platform/graphics/android/rendering/Surface.cpp @@ -351,7 +351,7 @@ bool Surface::paint(SkCanvas* canvas) if (isBase() && getFirstLayer()->countChildren() && getFirstLayer()->state()->layersRenderingMode() > GLWebViewState::kClippedTextures) { - for (unsigned int i = 0; i < getFirstLayer()->countChildren(); i++) + for (int i = 0; i < getFirstLayer()->countChildren(); i++) getFirstLayer()->getChild(i)->drawCanvas(canvas, true, Layer::FlattenedLayers); } } else { -- cgit v1.1