Title: [196728] trunk/Source/WebKit2
Revision
196728
Author
[email protected]
Date
2016-02-17 15:45:01 -0800 (Wed, 17 Feb 2016)

Log Message

Remove an unused function
https://bugs.webkit.org/show_bug.cgi?id=154358

Reviewed by Sam Weinig.

* Platform/cg/CGUtilities.cpp:
(WebKit::paintBitmapContext): Deleted.
* Platform/cg/CGUtilities.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (196727 => 196728)


--- trunk/Source/WebKit2/ChangeLog	2016-02-17 23:36:31 UTC (rev 196727)
+++ trunk/Source/WebKit2/ChangeLog	2016-02-17 23:45:01 UTC (rev 196728)
@@ -1,3 +1,14 @@
+2016-02-17  Anders Carlsson  <[email protected]>
+
+        Remove an unused function
+        https://bugs.webkit.org/show_bug.cgi?id=154358
+
+        Reviewed by Sam Weinig.
+
+        * Platform/cg/CGUtilities.cpp:
+        (WebKit::paintBitmapContext): Deleted.
+        * Platform/cg/CGUtilities.h:
+
 2016-02-17  Brady Eidson  <[email protected]>
 
         Modern IDB: More Encoder/Decoder/Messaging scaffolding for WK2 IPC.

Modified: trunk/Source/WebKit2/Platform/cg/CGUtilities.cpp (196727 => 196728)


--- trunk/Source/WebKit2/Platform/cg/CGUtilities.cpp	2016-02-17 23:36:31 UTC (rev 196727)
+++ trunk/Source/WebKit2/Platform/cg/CGUtilities.cpp	2016-02-17 23:45:01 UTC (rev 196728)
@@ -48,10 +48,4 @@
     CGContextRestoreGState(context);
 }
 
-void paintBitmapContext(CGContextRef context, CGContextRef bitmapContext, CGFloat scaleFactor, CGPoint destination, CGRect source)
-{
-    RetainPtr<CGImageRef> image = adoptCF(CGBitmapContextCreateImage(bitmapContext));
-    paintImage(context, image.get(), scaleFactor, destination, source);
-}
-
 } // namespace WebKit

Modified: trunk/Source/WebKit2/Platform/cg/CGUtilities.h (196727 => 196728)


--- trunk/Source/WebKit2/Platform/cg/CGUtilities.h	2016-02-17 23:36:31 UTC (rev 196727)
+++ trunk/Source/WebKit2/Platform/cg/CGUtilities.h	2016-02-17 23:45:01 UTC (rev 196728)
@@ -29,7 +29,6 @@
 namespace WebKit {
 
 void paintImage(CGContextRef, CGImageRef, CGFloat scaleFactor, CGPoint destination, CGRect source);
-void paintBitmapContext(CGContextRef, CGContextRef bitmapContext, CGFloat scaleFactor, CGPoint destination, CGRect source);
 
 } // namespace WebKit
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to