summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/win/DragImageCGWin.cpp
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-05 14:34:32 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-05 14:34:32 -0800
commit635860845790a19bf50bbc51ba8fb66a96dde068 (patch)
treeef6ad9ff73a5b57f65249d4232a202fa77e6a140 /WebCore/platform/win/DragImageCGWin.cpp
parent8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (diff)
downloadexternal_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.zip
external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.gz
external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.bz2
auto import from //depot/cupcake/@136594
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;