[Webkit-unassigned] [Bug 32401] ifdefs for FreeBSD/OpenBSD
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 28 11:33:02 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=32401
--- Comment #16 from pvalchev at google.com 2009-12-28 11:33:01 PST ---
(In reply to comment #15)
> (From update of attachment 45457 [details])
> The review flag is not set on the patch even though it seems like it is up for
> review.
>
> > Index: WebCore/dom/SelectElement.cpp
> > ===================================================================
>
> > -#elif PLATFORM(GTK) || (PLATFORM(CHROMIUM) && PLATFORM(LINUX))
> > +#elif PLATFORM(GTK) || (PLATFORM(CHROMIUM) && (PLATFORM(UNIX) && !PLATFORM(DARWIN)))
>
> No need for the extra parenthesis - (PLATFORM(CHROMIUM) && PLATFORM(UNIX) &&
> !PLATFORM(DARWIN))
>
> For all changes under WebCore/platform/graphics/skia/*
I thought they make it easier to read but of course feel free to remove them -
or would you like me to upload a new patch without them?
> > -#if defined(__linux__) || PLATFORM(WIN_OS)
> > +#if (PLATFORM(UNIX) && !PLATFORM(DARWIN)) || PLATFORM(WIN_OS)
>
> I'm not the best person to comment on this but it looks to me that Skia files
> aren't currently built on the Mac for Chromium (see
> WebCore/WebCore.gyp/WebCore.gyp and JavaScriptCore/wtf/Platform.h). This makes
> the !PLATFORM(DARWIN) guard redundant and potentially allows to get rid of all
> the guard conditions here.
I'm not sure, I'd prefer if the Chromium guys make the call as I don't want to
break the mac build.
> > Index: WebCore/loader/CachedFont.cpp
> > ===================================================================
> > -#if PLATFORM(CG) || PLATFORM(QT) || PLATFORM(GTK) || (PLATFORM(CHROMIUM) && (PLATFORM(WIN_OS) || PLATFORM(LINUX))) || PLATFORM(HAIKU) || PLATFORM(WINCE)
> > +#if PLATFORM(CG) || PLATFORM(QT) || PLATFORM(GTK) || (PLATFORM(CHROMIUM) && (PLATFORM(WIN_OS) || (PLATFORM(UNIX) && !PLATFORM(DARWIN)))) || PLATFORM(HAIKU) || PLATFORM(WINCE)
>
> Similar comments as above - Could this be simplified to (PLATFORM(CHROMIUM) &&
> !PLATFORM(DARWIN)) instead of (PLATFORM(CHROMIUM) && (PLATFORM(WIN_OS) ||
> (PLATFORM(UNIX) && !PLATFORM(DARWIN)))) ?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list