[webkit-reviews] review denied: [Bug 27532] [WinCairo] Correct Build Dependencies : [Attachment 33247] Small set of conditionals around Apple-specific headers.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 24 00:33:47 PDT 2009
Mark Rowe (bdash) <mrowe at apple.com> has denied review:
Bug 27532: [WinCairo] Correct Build Dependencies
https://bugs.webkit.org/show_bug.cgi?id=27532
Attachment 33247: Small set of conditionals around Apple-specific headers.
https://bugs.webkit.org/attachment.cgi?id=33247&action=review
------- Additional Comments from Mark Rowe (bdash) <mrowe at apple.com>
> Index: WebCore/platform/graphics/win/SimpleFontDataWin.cpp
> ===================================================================
> --- WebCore/platform/graphics/win/SimpleFontDataWin.cpp (revision
46148)
> +++ WebCore/platform/graphics/win/SimpleFontDataWin.cpp (working copy)
> @@ -37,10 +37,14 @@
> #include <wtf/MathExtras.h>
> #include <unicode/uchar.h>
> #include <unicode/unorm.h>
> +#if PLATFORM(CG)
> #include <ApplicationServices/ApplicationServices.h>
> +#endif
> #include <mlang.h>
> #include <tchar.h>
> +#if PLATFORM(CG)
> #include <WebKitSystemInterface/WebKitSystemInterface.h>
> +#endif
Please don't add #if's in the middle of a block of #include's like this. The
#include's should be sorted, and any #if'd #include's should be in separate
paragraphs at the end.
> Index: WebKit/win/DefaultDownloadDelegate.h
> ===================================================================
> --- WebKit/win/DefaultDownloadDelegate.h (revision 46148)
> +++ WebKit/win/DefaultDownloadDelegate.h (working copy)
> @@ -28,7 +28,9 @@
> #include "COMPtr.h"
> #include "WebKit.h"
>
> +#if PLATFORM(CFNETWORK)
> #include <CFNetwork/CFURLDownloadPriv.h>
> +#endif
> #include <wtf/HashSet.h>
Same comment applies here.
> Index: WebKit/win/WebDownload.h
> ===================================================================
> --- WebKit/win/WebDownload.h (revision 46148)
> +++ WebKit/win/WebDownload.h (working copy)
> @@ -29,7 +29,9 @@
> #include "COMPtr.h"
> #include "WebKit.h"
>
> +#if PLATFORM(CFNETWORK)
> #include <CFNetwork/CFURLDownloadPriv.h>
> +#endif
> #include <WebCore/PlatformString.h>
> #include <wtf/RetainPtr.h>
And here.
>
> Index: WebKit/win/WebMutableURLRequest.cpp
> ===================================================================
> --- WebKit/win/WebMutableURLRequest.cpp (revision 46148)
> +++ WebKit/win/WebMutableURLRequest.cpp (working copy)
> @@ -30,7 +30,9 @@
> #include "WebKit.h"
> #include "MarshallingHelpers.h"
> #include "WebKit.h"
> +#if PLATFORM(CFNETWORK)
> #include <CFNetwork/CFURLRequestPriv.h>
> +#endif
> #pragma warning(push, 0)
> #include <WebCore/BString.h>
> #include <WebCore/COMPtr.h>
And here.
Marking as r- as this broke the build.
More information about the webkit-reviews
mailing list