Changeset 20139 in webkit
- Timestamp:
- Mar 13, 2007, 12:32:07 AM (18 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r20137 r20139 1 2007-03-13 David Hyatt <hyatt@apple.com> 2 3 Double the encoded size of images for now. We do this to account for a bug in ImageIO where they hold 4 a separate copy of image data. 5 6 Reviewed by aroben 7 8 * loader/CachedImage.cpp: 9 (WebCore::CachedImage::data): 10 1 11 2007-03-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com> 2 12 -
trunk/WebCore/loader/CachedImage.cpp
r20009 r20139 226 226 if (m_image) { 227 227 Vector<char>& imageBuffer = m_image->dataBuffer(); 228 #if PLATFORM(CG) 229 // ImageIO sources copy the image data. We will go ahead and count encoded 230 // size twice until this issue is fixed. See <rdar://problem/5050645> 231 setEncodedSize(imageBuffer.size() * 2); 232 #else 228 233 setEncodedSize(imageBuffer.size()); 234 #endif 229 235 } 230 236 }
Note:
See TracChangeset
for help on using the changeset viewer.