Changeset 75733 in webkit
- Timestamp:
- Jan 13, 2011 12:51:45 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r75728 r75733 1 2011-01-13 Adrienne Walker <enne@google.com> 2 3 Reviewed by Kenneth Russell. 4 5 [chromium] Attempt to fix crash in tiled compositor memcpy 6 https://bugs.webkit.org/show_bug.cgi?id=52379 7 8 * platform/graphics/chromium/LayerTilerChromium.cpp: 9 (WebCore::LayerTilerChromium::update): 10 1 11 2011-01-13 Dimitri Glazkov <dglazkov@chromium.org> 2 12 -
trunk/Source/WebCore/platform/graphics/chromium/LayerTilerChromium.cpp
r74722 r75733 316 316 const IntPoint anchor = sourceRect.location(); 317 317 sourceRect.intersect(layerRectToContentRect(tile->m_dirtyLayerRect)); 318 if (sourceRect.isEmpty()) 319 continue; 318 320 319 321 // Calculate tile-space rectangle to upload into. 320 322 IntRect destRect(IntPoint(sourceRect.x() - anchor.x(), sourceRect.y() - anchor.y()), sourceRect.size()); 323 ASSERT(destRect.x() >= 0); 324 ASSERT(destRect.y() >= 0); 321 325 322 326 // Offset from paint rectangle to this tile's dirty rectangle. 323 327 IntPoint paintOffset(sourceRect.x() - paintRect.x(), sourceRect.y() - paintRect.y()); 328 ASSERT(paintOffset.x() >= 0); 329 ASSERT(paintOffset.y() >= 0); 324 330 325 331 uint8_t* pixelSource;
Note: See TracChangeset
for help on using the changeset viewer.