Changeset 160021 in webkit
- Timestamp:
- Dec 3, 2013 11:37:24 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r160014 r160021 1 2013-12-03 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Checking second-to-last bit in address is a typo 4 https://bugs.webkit.org/show_bug.cgi?id=125162 5 6 Reviewed by Darin Adler. 7 8 After talking with the original author of this line, 9 is was a typo to make sure that the second-to-last bit 10 in an address is 0. Instead, we want to make sure that 11 the address is aligned to a 4-byte boundary 12 13 No behavior change, so no test is necessary 14 15 * platform/graphics/cg/ImageBufferCG.cpp: 16 (WebCore::ImageBuffer::ImageBuffer): 17 1 18 2013-12-03 Radu Stavila <stavila@adobe.com> 2 19 -
trunk/Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp
r159791 r160021 159 159 if (!tryFastCalloc(height.unsafeGet(), m_data.m_bytesPerRow.unsafeGet()).getValue(m_data.m_data)) 160 160 return; 161 ASSERT(!(reinterpret_cast< size_t>(m_data.m_data) & 2));161 ASSERT(!(reinterpret_cast<intptr_t>(m_data.m_data) & 3)); 162 162 163 163 m_data.m_bitmapInfo = kCGImageAlphaPremultipliedLast;
Note: See TracChangeset
for help on using the changeset viewer.