Changeset 162329 in webkit


Ignore:
Timestamp:
Jan 20, 2014 3:14:04 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[CoordinatedGraphics] Segmentation fault at CoordinatedGraphicsScene::clearImageBackingContents

https://bugs.webkit.org/show_bug.cgi?id=125776

Patch by Edit Balint <edbalint@inf.u-szeged.hu> on 2014-01-20
Reviewed by Csaba Osztrogonác.

Unexpected behavior occurs in some test cases which leads to segmentation fault.

  • platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:

(WebCore::CompositingCoordinator::removeImageBacking):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r162312 r162329  
     12014-01-20  Edit Balint  <edbalint@inf.u-szeged.hu>
     2
     3        [CoordinatedGraphics] Segmentation fault at  CoordinatedGraphicsScene::clearImageBackingContents
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=125776
     6
     7        Reviewed by Csaba Osztrogonác.
     8
     9        Unexpected behavior occurs in some test cases which leads to segmentation fault.
     10
     11        * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
     12        (WebCore::CompositingCoordinator::removeImageBacking):
     13
    1142014-01-20  Morten Stenshorne  <mstensho@opera.com>
    215
  • trunk/Source/WebCore/platform/graphics/texmap/coordinated/CompositingCoordinator.cpp

    r162264 r162329  
    236236
    237237    m_state.imagesToRemove.append(imageID);
     238
     239    size_t imageIDPosition = m_state.imagesToClear.find(imageID);
     240    if (imageIDPosition != notFound)
     241        m_state.imagesToClear.remove(imageIDPosition);
    238242}
    239243
Note: See TracChangeset for help on using the changeset viewer.