Title: [213491] trunk/Source/WebCore
Revision
213491
Author
[email protected]
Date
2017-03-06 19:11:14 -0800 (Mon, 06 Mar 2017)

Log Message

[cairo] error C2065: 'quality': undeclared identifier since r213412
https://bugs.webkit.org/show_bug.cgi?id=169240

Patch by Fujii Hironori <[email protected]> on 2017-03-06
Reviewed by Ryosuke Niwa.

* platform/graphics/cairo/ImageBufferCairo.cpp:
(WebCore::ImageBuffer::toDataURL): Name the unnamed second argument 'quality'.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (213490 => 213491)


--- trunk/Source/WebCore/ChangeLog	2017-03-07 03:09:43 UTC (rev 213490)
+++ trunk/Source/WebCore/ChangeLog	2017-03-07 03:11:14 UTC (rev 213491)
@@ -1,3 +1,13 @@
+2017-03-06  Fujii Hironori  <[email protected]>
+
+        [cairo] error C2065: 'quality': undeclared identifier since r213412
+        https://bugs.webkit.org/show_bug.cgi?id=169240
+
+        Reviewed by Ryosuke Niwa.
+
+        * platform/graphics/cairo/ImageBufferCairo.cpp:
+        (WebCore::ImageBuffer::toDataURL): Name the unnamed second argument 'quality'.
+
 2017-03-06  Jiewen Tan  <[email protected]>
 
         [WebCrypto] Implement ECDH GenerateKey operation

Modified: trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp (213490 => 213491)


--- trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp	2017-03-07 03:09:43 UTC (rev 213490)
+++ trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp	2017-03-07 03:11:14 UTC (rev 213491)
@@ -551,7 +551,7 @@
     return cairo_surface_write_to_png_stream(image, writeFunction, output) == CAIRO_STATUS_SUCCESS;
 }
 
-String ImageBuffer::toDataURL(const String& mimeType, std::optional<double>, CoordinateSystem) const
+String ImageBuffer::toDataURL(const String& mimeType, std::optional<double> quality, CoordinateSystem) const
 {
     Vector<uint8_t> encodedImage = toData(mimeType, quality);
     if (encodedImage.isEmpty())
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to