From c9ab9bf00ba3ce8289f917675f81b40e4438a864 Mon Sep 17 00:00:00 2001 From: Teng-Hui Zhu Date: Fri, 10 Dec 2010 14:26:26 -0800 Subject: Prevent the usage of the texture(tile) if considered un-usable As an example of gmail, even though clearView is called, the previous content still show up. This fix just use a usable flag to make sure the content in the previously used texture is not showing up. bug : 3215000 Change-Id: I5429a4d03547d4cd4ad10bd2153c247a4d40db7d --- WebCore/platform/graphics/android/TiledPage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WebCore/platform/graphics/android/TiledPage.h') diff --git a/WebCore/platform/graphics/android/TiledPage.h b/WebCore/platform/graphics/android/TiledPage.h index fa310bf..ad88bc4 100644 --- a/WebCore/platform/graphics/android/TiledPage.h +++ b/WebCore/platform/graphics/android/TiledPage.h @@ -75,7 +75,7 @@ public: void setScale(float scale) { m_scale = scale; m_invScale = 1 / scale; } void invalidateRect(const IntRect& invalRect, const unsigned int pictureCount); - + void setUsable(bool usable); private: void updateTileState(const SkIRect& tileBounds); void prepareRow(bool goingLeft, int tilesInRow, int firstTileX, int y, TileSet* set); -- cgit v1.1