Changeset 169329 in webkit
- Timestamp:
- May 26, 2014 12:15:08 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r169328 r169329 1 2014-05-26 Tanay C <tanay.c@samsung.com> 2 3 [EFL] Fix build error in blob.cpp after r168435 4 https://bugs.webkit.org/show_bug.cgi?id=132678 5 6 Reviewed by Alexey Proskuryakov. 7 8 * fileapi/Blob.cpp: 9 (WebCore::Blob::size): Using isInBound to check range of local var 10 actualsize to resolve build error 11 1 12 2014-05-25 Ryuan Choi <ryuan.choi@samsung.com> 2 13 -
trunk/Source/WebCore/fileapi/Blob.cpp
r168435 r169329 125 125 // come up with an exception to throw if file size is not representable. 126 126 unsigned long long actualSize = ThreadableBlobRegistry::blobSize(m_internalURL); 127 m_size = ( actualSize <= std::numeric_limits<long long>::max()) ? static_cast<long long>(actualSize) : 0;127 m_size = (WTF::isInBounds<long long>(actualSize)) ? static_cast<long long>(actualSize) : 0; 128 128 } 129 129
Note: See TracChangeset
for help on using the changeset viewer.