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

Changeset 175934 in webkit


Ignore:
Timestamp:
Nov 11, 2014, 8:36:57 AM (12 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r175395 - Short-circuit repaints with empty rects
https://bugs.webkit.org/show_bug.cgi?id=138234

Reviewed by Zalan Bujtas.

Repaints with an empty rectangle are common enough that it's worth
short-circuiting them.

  • rendering/RenderObject.cpp:

(WebCore::RenderObject::repaintUsingContainer):

Location:
releases/WebKitGTK/webkit-2.6/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.6/Source/WebCore/ChangeLog

    r175928 r175934  
     12014-10-30  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Short-circuit repaints with empty rects
     4        https://bugs.webkit.org/show_bug.cgi?id=138234
     5
     6        Reviewed by Zalan Bujtas.
     7       
     8        Repaints with an empty rectangle are common enough that it's worth
     9        short-circuiting them.
     10
     11        * rendering/RenderObject.cpp:
     12        (WebCore::RenderObject::repaintUsingContainer):
     13
    1142014-10-24  Philippe Normand  <pnormand@igalia.com>
    215
  • releases/WebKitGTK/webkit-2.6/Source/WebCore/rendering/RenderObject.cpp

    r175890 r175934  
    12321232void RenderObject::repaintUsingContainer(const RenderLayerModelObject* repaintContainer, const LayoutRect& r, bool shouldClipToLayer) const
    12331233{
     1234    if (r.isEmpty())
     1235        return;
     1236
    12341237    if (!repaintContainer) {
    12351238        view().repaintViewRectangle(r);
Note: See TracChangeset for help on using the changeset viewer.