Title: [208469] trunk/Source/WebCore
- Revision
- 208469
- Author
- pvol...@apple.com
- Date
- 2016-11-09 12:29:23 -0800 (Wed, 09 Nov 2016)
Log Message
[Win][Direct2D] Incomplete image decoding.
https://bugs.webkit.org/show_bug.cgi?id=164511
Reviewed by Darin Adler.
Create native decoder when all image data has been received.
* platform/graphics/win/ImageDecoderDirect2D.cpp:
(WebCore::ImageDecoder::setData):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (208468 => 208469)
--- trunk/Source/WebCore/ChangeLog 2016-11-09 20:25:54 UTC (rev 208468)
+++ trunk/Source/WebCore/ChangeLog 2016-11-09 20:29:23 UTC (rev 208469)
@@ -1,3 +1,15 @@
+2016-11-09 Per Arne Vollan <pvol...@apple.com>
+
+ [Win][Direct2D] Incomplete image decoding.
+ https://bugs.webkit.org/show_bug.cgi?id=164511
+
+ Reviewed by Darin Adler.
+
+ Create native decoder when all image data has been received.
+
+ * platform/graphics/win/ImageDecoderDirect2D.cpp:
+ (WebCore::ImageDecoder::setData):
+
2016-11-09 Beth Dakin <bda...@apple.com>
Attempted build fix.
Modified: trunk/Source/WebCore/platform/graphics/win/ImageDecoderDirect2D.cpp (208468 => 208469)
--- trunk/Source/WebCore/platform/graphics/win/ImageDecoderDirect2D.cpp 2016-11-09 20:25:54 UTC (rev 208468)
+++ trunk/Source/WebCore/platform/graphics/win/ImageDecoderDirect2D.cpp 2016-11-09 20:29:23 UTC (rev 208469)
@@ -209,7 +209,7 @@
void ImageDecoder::setData(SharedBuffer& data, bool allDataReceived)
{
- if (allDataReceived)
+ if (!allDataReceived)
return;
COMPtr<IWICStream> stream;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes