[Webkit-unassigned] [Bug 42834] New: Clients for optional features should be passed to Page constructor via structure of pointers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 22 10:05:52 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42834
Summary: Clients for optional features should be passed to Page
constructor via structure of pointers
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: steveblock at google.com
Blocks: 39589
Several of the client arguments to the Page constructor are for optional features, for which most platforms pass 0. The use of a structure of pointers would reduce the number of arguments required. The members of the structure would default to 0, so adding a new optional feature would not require updates to the call sites for platforms not using the feature.
Note that this approach is preferred to a setter for each client, as it avoids the time window where no client is provided.
--
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