Ignore:
Timestamp:
Oct 14, 2013, 10:55:52 AM (12 years ago)
Author:
[email protected]
Message:

Pass Document directly to anonymous renderer constructors.
<https://webkit.org/b/122752>

Reviewed by Antti Koivisto.

Added separate constructors for creating anonymous renderers that
take a Document& instead of a null Element*/Text*.

Removed setDocumentForAnonymous() and all createAnonymous() helpers.
...and RenderObject::m_node is now a Node&, wohoo!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/rendering/RenderHTMLCanvas.cpp

    r156876 r157408  
    4343
    4444RenderHTMLCanvas::RenderHTMLCanvas(HTMLCanvasElement& element)
    45     : RenderReplaced(&element, element.size())
     45    : RenderReplaced(element, element.size())
    4646{
    4747    // Actual size is not known yet, report the default intrinsic size.
Note: See TracChangeset for help on using the changeset viewer.