[Webkit-unassigned] [Bug 37741] Clean up RenderPart/RenderPartObject/RenderFrame/RenderEmbeddedObject

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 19 22:03:32 PDT 2010


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


mitz at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #53770|review?                     |review+
               Flag|                            |




--- Comment #8 from mitz at webkit.org  2010-04-19 22:03:32 PST ---
(From update of attachment 53770)
> +inline RenderFrameBase* toRenderFrameBase(RenderObject* object)
> +{
> +    ASSERT(!object || object->isRenderFrameBase());
> +    return static_cast<RenderFrameBase*>(object);
> +}

Typically there’s also a const version of these.

> +
> +// This will catch anyone doing an unnecessary cast.
> +void toRenderPart(const RenderFrameBase*);

This is should be toRenderFrameBase(const RenderFrameBase*)

r=me

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