[Webkit-unassigned] [Bug 43716] Use a HashMap for m_continuation to save memory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 13 10:08:19 PST 2010


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





--- Comment #13 from Darin Adler <darin at apple.com>  2010-12-13 10:08:19 PST ---
(In reply to comment #11)
> > Instead of forwarding functions, you can use the "using" statement:
> > 
> >     using RenderBoxModelObject::continuation;
> >     using RenderBoxModelObject::setContinuation;
> 
> I couldn't use "using" at this time because I defined these functions as protected.

I don’t know what you mean. The using statement can be used to change the visibility of functions. Defining the functions as protected and then making use of using to make them public in a derived class is perfectly normal; it’s exactly what the using statement is good for.

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