[Webkit-unassigned] [Bug 77042] New: JSStringRefCF.cpp does not honor USE(CF) flag
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 25 13:16:49 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=77042
Summary: JSStringRefCF.cpp does not honor USE(CF) flag
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows 7
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ggadwa at charter.net
CC: aroben at apple.com
api/JSStringRefCF.cpp will fail to compile if the USE(CF) flag is not set. These functions are required as they are external functions, so I suggest:
JSStringRef JSStringCreateWithCFString(CFStringRef string)
{
#if !USE(CF)
return(NULL);
#else
// original code goes here!
#endif
}
CFStringRef JSStringCopyCFString(CFAllocatorRef alloc, JSStringRef string)
{
#if !USE(CF)
return(NULL);
#else
// original code goes here!
#endif
}
--
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