Changeset 176070 in webkit
- Timestamp:
- Nov 13, 2014 12:53:03 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r176069 r176070 1 2014-11-13 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 [EFL] Unexpected crashes in layout test after r175953 4 https://bugs.webkit.org/show_bug.cgi?id=138652 5 6 Reviewed by Csaba Osztrogonác. 7 8 In r175953, it set reusableNodeIndex value with m_partCache's size(). It causes 9 out of bound index crash because the reusableNodeIndex is Vector object. 10 11 No new test. This patch is to fix broken tests related to widgets on EFL port. 12 13 * platform/efl/RenderThemeEfl.cpp: 14 (WebCore::RenderThemeEfl::getThemePartFromCache): Need to set reusableNodeIndex with "size() - 1". 15 1 16 2014-11-13 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/Source/WebCore/platform/efl/RenderThemeEfl.cpp
r176010 r176070 252 252 // the last item of the list. 253 253 if (!reusableNodeIndex) 254 reusableNodeIndex = m_partCache.size() ;254 reusableNodeIndex = m_partCache.size() - 1; 255 255 256 256 ThemePartCacheEntry* reusedEntry = m_partCache[reusableNodeIndex].get();
Note: See TracChangeset
for help on using the changeset viewer.