On Wed, Sep 30, 2009 at 12:38 AM, Brett Wilson <[email protected]> wrote:

> On Wed, Sep 30, 2009 at 12:18 AM, Andrew Scherkus <[email protected]>
> wrote:
> > I'm doing some <video> UI refactoring to use GraphicsContext but noticed
> > drawPath() is unimplemented (causes linker error).
> > What's a good practice to implementing something no one has ever used
> > before?  Do we strive to be pixel perfect to GraphicsContextCG's
> > implementation?  I don't want to cause developer grief 6 months from now
> > when someone uses a broken drawPath() implementation :)
>
> Doesn't that mean it's also uncalled? Implementing an uncalled
> function seems like a bad idea. It would be interesting to see if or
> how this is called in Safari.
>

Hmm.. doing a grep through WebKit reveals our Mac <video> UI code being the
only caller (it's implemented on CG).

I agree it sounds like a bad idea.  I think I'll code around the issue using
implemented functions.


> Brett
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to