Changeset 200413 in webkit
- Timestamp:
- May 4, 2016 3:26:29 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r200412 r200413 1 2016-05-04 Zan Dobersek <zdobersek@igalia.com> 2 3 Unreviewed, fixing crashing GTK+ tests after r200407. 4 5 * platform/graphics/texmap/TextureMapperGL.cpp: 6 (WebCore::TextureMapperGLData::SharedGLData::~SharedGLData): 7 Don't use RELEASE_ASSERT. Also fix the actual assertion, 8 checking that any of the values in the map matches the object 9 that's being destroyed, instead of checking the keys. 10 1 11 2016-05-04 Gyuyoung Kim <gyuyoung.kim@webkit.org> 2 12 -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp
r200407 r200413 90 90 ~SharedGLData() 91 91 { 92 RELEASE_ASSERT(contextDataMap().contains(this)); 92 ASSERT(std::any_of(contextDataMap().begin(), contextDataMap().end(), 93 [this](GLContextDataMap::KeyValuePairType& entry) { return entry.value == this; })); 93 94 contextDataMap().removeIf([this] (GLContextDataMap::KeyValuePairType& entry) { return entry.value == this; }); 94 95 }
Note: See TracChangeset
for help on using the changeset viewer.