Title: [89264] trunk/Source/WebCore
- Revision
- 89264
- Author
- [email protected]
- Date
- 2011-06-20 11:30:42 -0700 (Mon, 20 Jun 2011)
Log Message
[wx] Unreviewed build fix, fix the codepaths run under each CPU type.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (89263 => 89264)
--- trunk/Source/WebCore/ChangeLog 2011-06-20 18:28:48 UTC (rev 89263)
+++ trunk/Source/WebCore/ChangeLog 2011-06-20 18:30:42 UTC (rev 89264)
@@ -1,3 +1,10 @@
+2011-06-20 Kevin Ollivier <[email protected]>
+
+ [wx] Unreviewed build fix, fix the codepaths run under each CPU type.
+
+ * platform/image-decoders/wx/ImageDecoderWx.cpp:
+ (WebCore::ImageFrame::asNewNativeImage):
+
2011-06-20 Ryosuke Niwa <[email protected]>
Reviewed by Ojan Vafai.
Modified: trunk/Source/WebCore/platform/image-decoders/wx/ImageDecoderWx.cpp (89263 => 89264)
--- trunk/Source/WebCore/platform/image-decoders/wx/ImageDecoderWx.cpp 2011-06-20 18:28:48 UTC (rev 89263)
+++ trunk/Source/WebCore/platform/image-decoders/wx/ImageDecoderWx.cpp 2011-06-20 18:30:42 UTC (rev 89264)
@@ -54,7 +54,7 @@
WxPixelData::Iterator p(data);
WxPixelData::Iterator rowStart = p;
for (size_t i = 0; i < m_size.width() * m_size.height() * sizeof(PixelData); i += sizeof(PixelData)) {
-#if CPU(BIG_ENDIAN)
+#if !CPU(BIG_ENDIAN)
p.Alpha() = bytes[i + 3];
p.Red() = bytes[i + 2];
p.Green() = bytes[i + 1];
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes