summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/win/DragImageCGWin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/win/DragImageCGWin.cpp')
-rw-r--r--WebCore/platform/win/DragImageCGWin.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/platform/win/DragImageCGWin.cpp b/WebCore/platform/win/DragImageCGWin.cpp
index 7788572..77b358b 100644
--- a/WebCore/platform/win/DragImageCGWin.cpp
+++ b/WebCore/platform/win/DragImageCGWin.cpp
@@ -37,6 +37,11 @@
namespace WebCore {
+void deallocContext(CGContextRef target)
+{
+ CGContextRelease(target);
+}
+
HBITMAP allocImage(HDC dc, IntSize size, CGContextRef *targetRef)
{
HBITMAP hbmp;