Changeset 105233 in webkit
- Timestamp:
- Jan 17, 2012 7:24:38 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r105231 r105233 1 2012-01-17 Yongsheng Zhu <yongsheng.zhu@intel.com> 2 3 Clear 'm_size' of DrawingBuffer in the 'clear' function 4 https://bugs.webkit.org/show_bug.cgi?id=76239 5 6 Reviewed by Kenneth Russell. 7 8 Clear the resources of DrawingBuffer but don't clear 'm_size'. This makes 9 's_currentResourceUsePixels' is not calculated correctly. 10 11 * platform/graphics/gpu/DrawingBuffer.cpp: 12 (WebCore::DrawingBuffer::clear): 13 1 14 2012-01-17 Philip Rogers <pdr@google.com> 2 15 -
trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp
r101181 r105233 73 73 74 74 m_context->makeContextCurrent(); 75 if (!m_size.isEmpty()) 75 if (!m_size.isEmpty()) { 76 76 s_currentResourceUsePixels -= m_size.width() * m_size.height(); 77 m_size = IntSize(); 78 } 77 79 78 80 if (m_colorBuffer) {
Note: See TracChangeset
for help on using the changeset viewer.