summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-04-05 15:39:47 -0700
committerJohn Reck <jreck@google.com>2011-04-05 17:20:52 -0700
commit61d841295b182b0d6c9eab04af1c55b9218eaefb (patch)
tree4a310f38ddba9061b6c82352f8eb628c91297a9a /WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h
parenta33d490302a04453e2c671114d30a4ee93cb08f1 (diff)
downloadexternal_webkit-61d841295b182b0d6c9eab04af1c55b9218eaefb.zip
external_webkit-61d841295b182b0d6c9eab04af1c55b9218eaefb.tar.gz
external_webkit-61d841295b182b0d6c9eab04af1c55b9218eaefb.tar.bz2
Race condition fix
Bug: 4232693 Change-Id: I273671aea3dc379858f11546e6459fd9e1443d4f
Diffstat (limited to 'WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h')
-rw-r--r--WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h b/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h
index f612114..8bfae59 100644
--- a/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h
+++ b/WebCore/platform/graphics/android/BackedDoubleBufferedTexture.h
@@ -90,6 +90,7 @@ public:
// returns false if ownership cannot be transferred because the tile is busy
bool acquire(TextureOwner* owner);
bool release(TextureOwner* owner);
+ bool tryAcquire(TextureOwner* owner, TiledPage* currentPage, TiledPage* nextPage);
// set the texture owner if not busy. Return false if busy, true otherwise.
bool setOwner(TextureOwner* owner);