⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243986 in webkit


Ignore:
Timestamp:
Apr 8, 2019, 3:15:21 AM (7 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r243475 - [Coordinated Graphics][WinCairo] ASSERTION FAILED: state.id == m_nicosia.state.id
https://bugs.webkit.org/show_bug.cgi?id=196190

Reviewed by Žan Doberšek.

This assertion assumes the pre-committed and the committed scenes
are identical. But, the pre-committed scene is updated in the main
thread. Removed the false assertion.

  • Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:

(WebKit::CoordinatedGraphicsScene::purgeGLResources): Remove the
assertion. Removed layers of committed scene, not pre-committed
scene.

Location:
releases/WebKitGTK/webkit-2.24/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.24/Source/WebKit/ChangeLog

    r243985 r243986  
     12019-03-25  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [Coordinated Graphics][WinCairo] ASSERTION FAILED: state.id == m_nicosia.state.id
     4        https://bugs.webkit.org/show_bug.cgi?id=196190
     5
     6        Reviewed by Žan Doberšek.
     7
     8        This assertion assumes the pre-committed and the committed scenes
     9        are identical. But, the pre-committed scene is updated in the main
     10        thread. Removed the false assertion.
     11
     12        * Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
     13        (WebKit::CoordinatedGraphicsScene::purgeGLResources): Remove the
     14        assertion. Removed layers of committed scene, not pre-committed
     15        scene.
     16
    1172019-03-11  Fujii Hironori  <Hironori.Fujii@sony.com>
    218
  • releases/WebKitGTK/webkit-2.24/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp

    r243981 r243986  
    432432    if (m_nicosia.scene) {
    433433        m_nicosia.scene->accessState(
    434             [this](const Nicosia::Scene::State& state)
     434            [](Nicosia::Scene::State& state)
    435435            {
    436                 ASSERT(state.id == m_nicosia.state.id);
    437                 for (auto& layer : m_nicosia.state.layers)
     436                for (auto& layer : state.layers)
    438437                    removeLayer(*layer);
    439                 m_nicosia.state.layers = { };
    440                 m_nicosia.state.rootLayer = nullptr;
     438                state.layers = { };
     439                state.rootLayer = nullptr;
    441440            });
    442441        m_nicosia.scene = nullptr;
Note: See TracChangeset for help on using the changeset viewer.