Title: [86815] trunk/Source/WebCore
- Revision
- 86815
- Author
- [email protected]
- Date
- 2011-05-18 19:41:30 -0700 (Wed, 18 May 2011)
Log Message
2011-05-18 Adrienne Walker <[email protected]>
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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (86814 => 86815)
--- trunk/Source/WebCore/ChangeLog 2011-05-19 02:28:48 UTC (rev 86814)
+++ trunk/Source/WebCore/ChangeLog 2011-05-19 02:41:30 UTC (rev 86815)
@@ -1,3 +1,15 @@
+2011-05-18 Adrienne Walker <[email protected]>
+
+ 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):
+
2011-05-17 MORITA Hajime <[email protected]>
Reviewed by Tony Chang.
Modified: trunk/Source/WebCore/platform/graphics/chromium/ImageLayerChromium.cpp (86814 => 86815)
--- trunk/Source/WebCore/platform/graphics/chromium/ImageLayerChromium.cpp 2011-05-19 02:28:48 UTC (rev 86814)
+++ trunk/Source/WebCore/platform/graphics/chromium/ImageLayerChromium.cpp 2011-05-19 02:41:30 UTC (rev 86815)
@@ -71,7 +71,7 @@
IntRect clippedDestRect = destRect;
clippedDestRect.move(clippedSourceRect.location() - sourceRect.location());
- clippedDestRect.setSize(sourceRect.size());
+ clippedDestRect.setSize(clippedSourceRect.size());
m_texSubImage.upload(m_image.pixels(), imageRect(), clippedSourceRect, clippedDestRect, context());
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes