Title: [247758] trunk/Source/WebCore
Revision
247758
Author
[email protected]
Date
2019-07-23 17:04:47 -0700 (Tue, 23 Jul 2019)

Log Message

ImageDecoderDirect2D::hotSpot() should return WTF::nullopt instead of default constructed value
https://bugs.webkit.org/show_bug.cgi?id=200055

Reviewed by Brent Fulgham.

* platform/graphics/win/ImageDecoderDirect2D.cpp:
(WebCore::ImageDecoderDirect2D::hotSpot const):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (247757 => 247758)


--- trunk/Source/WebCore/ChangeLog	2019-07-24 00:03:10 UTC (rev 247757)
+++ trunk/Source/WebCore/ChangeLog	2019-07-24 00:04:47 UTC (rev 247758)
@@ -1,3 +1,13 @@
+2019-07-23  Konstantin Tokarev  <[email protected]>
+
+        ImageDecoderDirect2D::hotSpot() should return WTF::nullopt instead of default constructed value
+        https://bugs.webkit.org/show_bug.cgi?id=200055
+
+        Reviewed by Brent Fulgham.
+
+        * platform/graphics/win/ImageDecoderDirect2D.cpp:
+        (WebCore::ImageDecoderDirect2D::hotSpot const):
+
 2019-07-23  Tim Horton  <[email protected]>
 
         Long press hint has half blue shape in Feedly.com

Modified: trunk/Source/WebCore/platform/graphics/win/ImageDecoderDirect2D.cpp (247757 => 247758)


--- trunk/Source/WebCore/platform/graphics/win/ImageDecoderDirect2D.cpp	2019-07-24 00:03:10 UTC (rev 247757)
+++ trunk/Source/WebCore/platform/graphics/win/ImageDecoderDirect2D.cpp	2019-07-24 00:04:47 UTC (rev 247758)
@@ -125,7 +125,7 @@
 
 Optional<IntPoint> ImageDecoderDirect2D::hotSpot() const
 {
-    return IntPoint();
+    return WTF::nullopt;
 }
 
 IntSize ImageDecoderDirect2D::frameSizeAtIndex(size_t index, SubsamplingLevel subsamplingLevel) const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to