[webkit-dev] [43842] trunk/WebCore

Darin Adler darin at apple.com
Tue May 19 07:45:58 PDT 2009


On May 18, 2009, at 8:41 PM, Adam Roben wrote:

> We do something like this for Node::isSVGElement and  
> Node::isWMLElement already, so there is precedent.

But there are alternatives that don't require making styleForRenderer  
virtual.

For example, styleForRenderer could be changed to *call* a virtual  
function, perhaps an XHTMLMP one, instead of itself being a virtual  
function. That change would be pretty simple to do.

     -- Darin



More information about the webkit-dev mailing list