Changeset 86815 in webkit


Ignore:
Timestamp:
May 18, 2011 7:41:30 PM (13 years ago)
Author:
enne@google.com
Message:

2011-05-18 Adrienne Walker <enne@google.com>

Reviewed by James Robinson.

[chromium] Fix incorrect size when clipping image layer upload rects
https://bugs.webkit.org/show_bug.cgi?id=61105

The clipped destination and source rects should have the same size.

  • platform/graphics/chromium/ImageLayerChromium.cpp: (WebCore::ImageLayerTextureUpdater::updateTextureRect):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r86813 r86815  
     12011-05-18  Adrienne Walker  <enne@google.com>
     2
     3        Reviewed by James Robinson.
     4
     5        [chromium] Fix incorrect size when clipping image layer upload rects
     6        https://bugs.webkit.org/show_bug.cgi?id=61105
     7
     8        The clipped destination and source rects should have the same size.
     9
     10        * platform/graphics/chromium/ImageLayerChromium.cpp:
     11        (WebCore::ImageLayerTextureUpdater::updateTextureRect):
     12
    1132011-05-17  MORITA Hajime  <morrita@google.com>
    214
  • trunk/Source/WebCore/platform/graphics/chromium/ImageLayerChromium.cpp

    r86805 r86815  
    7272        IntRect clippedDestRect = destRect;
    7373        clippedDestRect.move(clippedSourceRect.location() - sourceRect.location());
    74         clippedDestRect.setSize(sourceRect.size());
     74        clippedDestRect.setSize(clippedSourceRect.size());
    7575
    7676        m_texSubImage.upload(m_image.pixels(), imageRect(), clippedSourceRect, clippedDestRect, context());
Note: See TracChangeset for help on using the changeset viewer.