[Webkit-unassigned] [Bug 44950] [WML] Add create functions to WML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 7 00:42:55 PDT 2010


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





--- Comment #8 from Dirk Schulze <krit at webkit.org>  2010-09-07 00:42:55 PST ---
(In reply to comment #7)
> All other files defines the create(...) as public. It seems to me that we also define the create(...) as public. I think the create() function make a instance from other class. So, the create need to be set public.
> 
> How do you think about it ?

Sure. 'create' as public, the Ctor as private:

public:
     static PassRefPtr<WMLFormControlElement> create(const QualifiedName&, Document*);
     ....

private:
    WMLFormControlElement(const QualifiedName&, Document*);

-- 
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