⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 99792 in webkit


Ignore:
Timestamp:
Nov 9, 2011, 5:33:32 PM (15 years ago)
Author:
eae@chromium.org
Message:

Remove unnecessary type conversion for unscaledDocumentRect

Location:
branches/subpixellayout/Source/WebCore/rendering
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/subpixellayout/Source/WebCore/rendering/RenderView.cpp

    r99784 r99792  
    688688
    689689
    690 LayoutRect RenderView::unscaledDocumentRect() const
    691 {
    692     LayoutRect overflowRect(layoutOverflowRect());
     690IntRect RenderView::unscaledDocumentRect() const
     691{
     692    IntRect overflowRect(layoutOverflowRect());
    693693    flipForWritingMode(overflowRect);
    694694    return overflowRect;
     
    711711IntRect RenderView::documentRect() const
    712712{
    713     LayoutRect overflowRect(unscaledDocumentRect());
     713    IntRect overflowRect(unscaledDocumentRect());
    714714    if (hasTransform())
    715715        overflowRect = layer()->currentTransform().mapRect(overflowRect);
    716     return enclosingIntRect(overflowRect);
     716    return overflowRect;
    717717}
    718718
  • branches/subpixellayout/Source/WebCore/rendering/RenderView.h

    r99784 r99792  
    167167#endif
    168168
    169     LayoutRect unscaledDocumentRect() const;
     169    IntRect unscaledDocumentRect() const;
    170170    LayoutRect backgroundRect(RenderBox* backgroundRenderer) const;
    171171
Note: See TracChangeset for help on using the changeset viewer.