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/RenderReplaced.cpp

    r154546 r154580  
    133133        return;
    134134   
    135     bool drawSelectionTint = selectionState() != SelectionNone && !document()->printing();
     135    bool drawSelectionTint = selectionState() != SelectionNone && !document().printing();
    136136    if (paintInfo.phase == PaintPhaseSelection) {
    137137        if (selectionState() == SelectionNone)
Note: See TracChangeset for help on using the changeset viewer.