PLATFORM(*) macros used in Source/WebCore/loader/archive/ArchiveFactory.cpp
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 May 2013 16:03:07 +0000 (16:03 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 May 2013 16:03:07 +0000 (16:03 +0000)
https://bugs.webkit.org/show_bug.cgi?id=116453

Reviewed by Alexey Proskuryakov.

* loader/archive/ArchiveFactory.cpp: Remove a redundant PLATFORM(QT) macro when checking whether
to include the LegacyWebArchive.h header that's specific to the WebArchive support. The Qt port
does not enable the WebArchive feature at all (which is enabled only on AppleMac, AppleWin and iOS
platforms) so there's no reason to additionally condition the header include with building on
non-Qt platforms.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150444 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/loader/archive/ArchiveFactory.cpp

index 3c57076..4385c10 100644 (file)
@@ -1,3 +1,16 @@
+2013-05-21  Zan Dobersek  <zdobersek@igalia.com>
+
+        PLATFORM(*) macros used in Source/WebCore/loader/archive/ArchiveFactory.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=116453
+
+        Reviewed by Alexey Proskuryakov.
+
+        * loader/archive/ArchiveFactory.cpp: Remove a redundant PLATFORM(QT) macro when checking whether
+        to include the LegacyWebArchive.h header that's specific to the WebArchive support. The Qt port
+        does not enable the WebArchive feature at all (which is enabled only on AppleMac, AppleWin and iOS
+        platforms) so there's no reason to additionally condition the header include with building on
+        non-Qt platforms.
+
 2013-05-21  Alberto Garcia  <agarcia@igalia.com>
 
         Add BlackBerry definition of NativeImagePtr
index 627009f..fbbbaa1 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "MIMETypeRegistry.h"
 
-#if USE(CF) && !PLATFORM(QT) && ENABLE(WEB_ARCHIVE)
+#if ENABLE(WEB_ARCHIVE) && USE(CF)
 #include "LegacyWebArchive.h"
 #endif
 #if ENABLE(MHTML)