[Webkit-unassigned] [Bug 24096] Use PLATFORM(CF) instead of PLATFORM(MAC) in CurrentTime.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 23 08:47:42 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=24096





------- Comment #2 from aroben at apple.com  2009-02-23 08:47 PDT -------
(In reply to comment #1)
> Is PLATFORM(CF) OK to use here?  A concern has been raised about Apple's CF
> variant on Windows, if this is a problem, would PLATFORM(DARWIN) &&
> PLATFORM(CF) be a better choice?

We still want Windows to use the WIN_OS code, as it is higher-resolution than
CFAbsoluteTimeGetCurrent on Windows. One option would be to do what you
proposed: PLATFORM(DARWIN) && PLATFORM(CF). Another option would be to make the
WIN_OS code the first branch of the #if/#elif chain. I think I prefer the
latter.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list