Ignore:
Timestamp:
Aug 23, 2013, 9:34:12 AM (12 years ago)
Author:
[email protected]
Message:

RenderView::frameView() should return a reference.
<https://webkit.org/b/120208>

Reviewed by Antti Koivisto.

A RenderView should always have a corresponding FrameView, so make frameView()
return a reference. Also remove a myriad of now-impossible null checks.

File:
1 edited

Legend:

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

    r152401 r154488  
    4646{
    4747    // Actual size is not known yet, report the default intrinsic size.
    48     view()->frameView()->incrementVisuallyNonEmptyPixelCount(roundedIntSize(intrinsicSize()));
     48    view()->frameView().incrementVisuallyNonEmptyPixelCount(roundedIntSize(intrinsicSize()));
    4949}
    5050
Note: See TracChangeset for help on using the changeset viewer.