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

Changeset 199044 in webkit


Ignore:
Timestamp:
Apr 4, 2016, 11:09:01 PM (11 years ago)
Author:
zandobersek@gmail.com
Message:

[TexMap] resolveOverlaps() should be passed-in the first Region parameter via a reference
​https://bugs.webkit.org/show_bug.cgi?id=156158

Reviewed by Antonio Gomes.

  • platform/graphics/texmap/TextureMapperLayer.cpp:

(WebCore::resolveOverlaps): Don't copy the Region object that's passed through
the first parameter by accepting a reference to the object instead. This does
modify the passed-in object, but these modifications don't have any effect on
any state via the call sites in TextureMapperLayer::computeOverlapRegions().

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r199043 r199044  
     12016-04-04  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        [TexMap] resolveOverlaps() should be passed-in the first Region parameter via a reference
     4        https://bugs.webkit.org/show_bug.cgi?id=156158
     5
     6        Reviewed by Antonio Gomes.
     7
     8        * platform/graphics/texmap/TextureMapperLayer.cpp:
     9        (WebCore::resolveOverlaps): Don't copy the Region object that's passed through
     10        the first parameter by accepting a reference to the object instead. This does
     11        modify the passed-in object, but these modifications don't have any effect on
     12        any state via the call sites in TextureMapperLayer::computeOverlapRegions().
     13
    1142016-04-04  Brady Eidson  <beidson@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp

    r198735 r199044  
    239239}
    240240
    241 static void resolveOverlaps(Region newRegion, Region& overlapRegion, Region& nonOverlapRegion)
     241static void resolveOverlaps(Region& newRegion, Region& overlapRegion, Region& nonOverlapRegion)
    242242{
    243243    Region newOverlapRegion(newRegion);
Note: See TracChangeset for help on using the changeset viewer.