[Webkit-unassigned] [Bug 23092] Conditionalize CFNetwork-specific logic in WebKit.dll
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 9 13:25:45 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=23092
------- Comment #10 from darin at apple.com 2009-01-09 13:25 PDT -------
(In reply to comment #9)
> > +UInt32 WebDownload::bundleMagicNumber()
> > +{
> > + static UInt32 bundleMagicNumber = 0xDECAF4EA;
> > + return bundleMagicNumber;
> > +}
>
> We could probably just say "return 0xDECAF4EA", but it doesn't matter too much.
If you said "static const UInt32" then in gcc it would create more efficient
code. gcc fails to realize this number can't be modified and will actually
generate a global variable without the const.
--
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