diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2010-12-10 14:26:26 -0800 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2010-12-13 11:04:58 -0800 |
commit | c9ab9bf00ba3ce8289f917675f81b40e4438a864 (patch) | |
tree | 0250b0a08f85f41ad768734f0d716753d279ce3a /WebCore/platform/graphics/android/TiledPage.h | |
parent | 57447b53a088f0e3b0ee75ef043db7224aac25ae (diff) | |
download | external_webkit-c9ab9bf00ba3ce8289f917675f81b40e4438a864.zip external_webkit-c9ab9bf00ba3ce8289f917675f81b40e4438a864.tar.gz external_webkit-c9ab9bf00ba3ce8289f917675f81b40e4438a864.tar.bz2 |
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
Diffstat (limited to 'WebCore/platform/graphics/android/TiledPage.h')
-rw-r--r-- | WebCore/platform/graphics/android/TiledPage.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |