RESOLVED DUPLICATE of bug 103938 103941
Build fix after r136444
https://bugs.webkit.org/show_bug.cgi?id=103941
Summary Build fix after r136444
KyungTae Kim
Reported 2012-12-03 15:43:03 PST
r136444 blocks #include "JPEGImageDecoder.h" with #if USE(LIBJPEG), but it should be #if !PLATFORM(QT) || (PLATFORM(QT) && USE(LIBJPEG)), same with the code using JPEGImageDecode (126 line).
Attachments
Patch (1.29 KB, patch)
2012-12-03 15:45 PST, KyungTae Kim
no flags
KyungTae Kim
Comment 1 2012-12-03 15:45:47 PST
KyungTae Kim
Comment 2 2012-12-03 15:47:17 PST
Source/WebCore/platform/image-decoders/ImageDecoder.cpp: In static member function ‘static WebCore::ImageDecoder* WebCore::ImageDecoder::create(const WebCore::SharedBuffer&, WebCore::ImageSource::AlphaOption, WebCore::ImageSource::GammaAndColorProfileOption)’: Source/WebCore/platform/image-decoders/ImageDecoder.cpp:126:20: error: expected type-specifier before ‘JPEGImageDecoder’ Source/WebCore/platform/image-decoders/ImageDecoder.cpp:126:20: error: cannot convert ‘int*’ to ‘WebCore::ImageDecoder*’ in return Source/WebCore/platform/image-decoders/ImageDecoder.cpp:126:20: error: expected ‘;’ before ‘JPEGImageDecoder’ Source/WebCore/platform/image-decoders/ImageDecoder.cpp:126:76: error: ‘JPEGImageDecoder’ was not declared in this scope
Levi Weintraub
Comment 3 2012-12-03 15:51:34 PST
Comment on attachment 177355 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=177355&action=review > Source/WebCore/ChangeLog:9 > + Unreviewd build fix > + > + r136444 blocks #include "JPEGImageDecoder.h" with #if USE(LIBJPEG), > + but it should be #if !PLATFORM(QT) || (PLATFORM(QT) && USE(LIBJPEG)). Typo: "Unreviewd". Qualify the revision with a link and don't worry about writing the entire patch in the description. Just say the platform that's broken.
KyungTae Kim
Comment 4 2012-12-03 15:59:53 PST
*** This bug has been marked as a duplicate of bug 103938 ***
Laszlo Gombos
Comment 5 2012-12-03 19:47:48 PST
Comment on attachment 177355 [details] Patch removing cq? as this is a dup of a fixed bug.
Note You need to log in before you can comment on or make changes to this bug.