Title: [212253] trunk/Source/WebCore
Revision
212253
Author
[email protected]
Date
2017-02-13 15:07:44 -0800 (Mon, 13 Feb 2017)

Log Message

Fix iOS build.

* platform/ios/DragImageIOS.mm:
(WebCore::deleteDragImage):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (212252 => 212253)


--- trunk/Source/WebCore/ChangeLog	2017-02-13 23:06:26 UTC (rev 212252)
+++ trunk/Source/WebCore/ChangeLog	2017-02-13 23:07:44 UTC (rev 212253)
@@ -1,3 +1,10 @@
+2017-02-13  Anders Carlsson  <[email protected]>
+
+        Fix iOS build.
+
+        * platform/ios/DragImageIOS.mm:
+        (WebCore::deleteDragImage):
+
 2017-02-13  Sam Weinig  <[email protected]>
 
         Rename MediaQueryExp.h/cpp to MediaQueryExpression.h/cpp

Modified: trunk/Source/WebCore/platform/ios/DragImageIOS.mm (212252 => 212253)


--- trunk/Source/WebCore/platform/ios/DragImageIOS.mm	2017-02-13 23:06:26 UTC (rev 212252)
+++ trunk/Source/WebCore/platform/ios/DragImageIOS.mm	2017-02-13 23:07:44 UTC (rev 212253)
@@ -36,6 +36,12 @@
 
 namespace WebCore {
 
+void deleteDragImage(RetainPtr<CGImageRef>)
+{
+    // Since this is a RetainPtr, there's nothing additional we need to do to
+    // delete it. It will be released when it falls out of scope.
+}
+
 // FIXME: fix signature of dragImageSize() to avoid copying the argument.
 IntSize dragImageSize(RetainPtr<CGImageRef> image)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to