Ignore:
Timestamp:
Aug 25, 2013, 2:22:06 PM (12 years ago)
Author:
[email protected]
Message:

RenderObject::document() should return a reference.
<https://webkit.org/b/120272>

Reviewed by Antti Koivisto.

There's always a Document. We were allocated in someone's arena, after all.
Various null checks and assertions neutralized.

File:
1 edited

Legend:

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

    r154554 r154580  
    454454    }
    455455
    456     if (!parent()->isFrameSet() && !document()->printing()) {
     456    if (!parent()->isFrameSet() && !document().printing()) {
    457457        setWidth(view().viewWidth());
    458458        setHeight(view().viewHeight());
Note: See TracChangeset for help on using the changeset viewer.