Ignore:
Timestamp:
Sep 17, 2013, 4:05:01 AM (12 years ago)
Author:
[email protected]
Message:

CTTE: Pass RenderArena around by reference.
<https://webkit.org/b/121470>

Reviewed by Antti Koivisto.

Pass the RenderArena around by reference in all render tree code.
This code will never be running without an arena.

File:
1 edited

Legend:

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

    r155908 r155944  
    211211{
    212212    ASSERT(parentRuby && parentRuby->isRuby());
    213     RenderRubyRun* rr = new (*parentRuby->renderArena()) RenderRubyRun();
     213    RenderRubyRun* rr = new (parentRuby->renderArena()) RenderRubyRun();
    214214    rr->setDocumentForAnonymous(parentRuby->document());
    215215    RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(parentRuby->style(), INLINE_BLOCK);
Note: See TracChangeset for help on using the changeset viewer.