[Webkit-unassigned] [Bug 97251] New: GlobalObjectMethodTable initialization should use designated initializers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 20 12:44:16 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=97251
Summary: GlobalObjectMethodTable initialization should use
designated initializers
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: psolanki at apple.com
Instead of doing
const GlobalObjectMethodTable JSDOMWindowBase::s_globalObjectMethodTable = { &shouldAllowAccessFrom, &supportsProfiling, &supportsRichSourceInfo, &shouldInterruptScript, &javaScriptExperimentsEnabled };
and relying on the order in which the fields are written, we can use designated initializers.
--
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