Commit 95dac7d2 authored by hyatt@apple.com's avatar hyatt@apple.com
Browse files

2008-04-17 David Hyatt <hyatt@apple.com>

        Fix a leak in ImageBuffer's clearImage method.

        Reviewed by olliej

        * platform/graphics/ImageBuffer.h:
        (WebCore::ImageBuffer::clearImage):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f343a023
2008-04-17 David Hyatt <hyatt@apple.com>
Fix a leak in ImageBuffer's clearImage method.
Reviewed by olliej
* platform/graphics/ImageBuffer.h:
(WebCore::ImageBuffer::clearImage):
2008-04-17 Antti Koivisto <antti@apple.com>
 
Reviewed by Eric.
......@@ -82,7 +82,7 @@ namespace WebCore {
Image* image() const { notImplemented(); return 0; }
#endif
void clearImage() { m_image.release(); }
void clearImage() { m_image.clear(); }
PassRefPtr<ImageData> getImageData(const IntRect& rect) const;
void putImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment