Changeset 243475 in webkit
- Timestamp:
- Mar 25, 2019, 5:43:22 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r243472 r243475 1 2019-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 1 17 2019-03-25 Brady Eidson <beidson@apple.com> 2 18 -
trunk/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp
r242205 r243475 432 432 if (m_nicosia.scene) { 433 433 m_nicosia.scene->accessState( 434 [ this](constNicosia::Scene::State& state)434 [](Nicosia::Scene::State& state) 435 435 { 436 ASSERT(state.id == m_nicosia.state.id); 437 for (auto& layer : m_nicosia.state.layers) 436 for (auto& layer : state.layers) 438 437 removeLayer(*layer); 439 m_nicosia.state.layers = { };440 m_nicosia.state.rootLayer = nullptr;438 state.layers = { }; 439 state.rootLayer = nullptr; 441 440 }); 442 441 m_nicosia.scene = nullptr;
Note:
See TracChangeset
for help on using the changeset viewer.