Changeset 148052 in webkit
- Timestamp:
- Apr 9, 2013, 2:28:50 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r148050 r148052 1 2013-04-09 Tim Horton <timothy_horton@apple.com> 2 3 [wk2] IconDatabase images should be decoded in the WebProcess 4 https://bugs.webkit.org/show_bug.cgi?id=112524 5 <rdar://problem/10133914> 6 7 Reviewed by Simon Fraser. 8 9 Move an ASSERT that dereferenced a pointer inside the null-check for that pointer. 10 11 * loader/icon/IconDatabase.cpp: 12 (WebCore::IconDatabase::setIconBitmapForIconURL): 13 1 14 2013-04-09 Eric Carlson <eric.carlson@apple.com> 2 15 -
trunk/Source/WebCore/loader/icon/IconDatabase.cpp
r148034 r148052 599 599 { 600 600 ASSERT_NOT_SYNC_THREAD(); 601 ASSERT(imageOriginal->isBitmapImage());602 601 603 602 // Cannot do anything with imageOriginal or iconURLOriginal that would end up storing them without deep copying first … … 608 607 RefPtr<Image> image; 609 608 if (imageOriginal) { 609 ASSERT(imageOriginal->isBitmapImage()); 610 610 611 OwnPtr<ImageBuffer> imageBuffer = ImageBuffer::create(imageOriginal->size()); 611 612 GraphicsContext* context = imageBuffer->context();
Note:
See TracChangeset
for help on using the changeset viewer.