summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/PathAndroid.cpp
diff options
context:
space:
mode:
authorLeon Clarke <leonclarke@google.com>2010-07-15 14:40:46 +0100
committerLeon Clarke <leonclarke@google.com>2010-07-20 16:57:23 +0100
commit8c912ec5ade90749767aaa9131ed67a5bcb4da68 (patch)
treedba72d135ff4327979bbcc36c7b9d776a773d1fc /WebCore/platform/graphics/android/PathAndroid.cpp
parent5f0038a5bfeb3edb460ed06dbabbdd1969d81037 (diff)
downloadexternal_webkit-8c912ec5ade90749767aaa9131ed67a5bcb4da68.zip
external_webkit-8c912ec5ade90749767aaa9131ed67a5bcb4da68.tar.gz
external_webkit-8c912ec5ade90749767aaa9131ed67a5bcb4da68.tar.bz2
Merge WebKit at r63173 : Following @62551, PassOwnPtr no longer has a release method.
leakPtr appears to be the alternative. Change-Id: I55d7c2a927e86cfd23ec5a1bb292d2058bcacb09
Diffstat (limited to 'WebCore/platform/graphics/android/PathAndroid.cpp')
-rw-r--r--WebCore/platform/graphics/android/PathAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/PathAndroid.cpp b/WebCore/platform/graphics/android/PathAndroid.cpp
index c1fe8a8..f7f6b19 100644
--- a/WebCore/platform/graphics/android/PathAndroid.cpp
+++ b/WebCore/platform/graphics/android/PathAndroid.cpp
@@ -353,7 +353,7 @@ static GraphicsContext* scratchContext()
static ImageBuffer* scratch = 0;
// TODO(benm): Confirm with reed that it's correct to use the (default) DeviceRGB ColorSpace parameter in the call to create below.
if (!scratch)
- scratch = ImageBuffer::create(IntSize(1, 1)).release();
+ scratch = ImageBuffer::create(IntSize(1, 1)).leakPtr();
// We don't bother checking for failure creating the ImageBuffer, since our
// ImageBuffer initializer won't fail.
return scratch->context();