From 8c912ec5ade90749767aaa9131ed67a5bcb4da68 Mon Sep 17 00:00:00 2001 From: Leon Clarke Date: Thu, 15 Jul 2010 14:40:46 +0100 Subject: Merge WebKit at r63173 : Following @62551, PassOwnPtr no longer has a release method. leakPtr appears to be the alternative. Change-Id: I55d7c2a927e86cfd23ec5a1bb292d2058bcacb09 --- WebCore/platform/graphics/android/PathAndroid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WebCore/platform/graphics/android/PathAndroid.cpp') 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(); -- cgit v1.1