@@ -438,8 +438,8 @@ void LayerSnapshotBuilder::updateSnapshots(const Args& args) {
438438 }
439439
440440 for (auto & snapshot : mSnapshots ) {
441- if (snapshot->reachablilty == LayerSnapshot::Reachablilty ::Reachable) {
442- snapshot->reachablilty = LayerSnapshot::Reachablilty ::Unreachable;
441+ if (snapshot->reachability == LayerSnapshot::Reachability ::Reachable) {
442+ snapshot->reachability = LayerSnapshot::Reachability ::Unreachable;
443443 }
444444 }
445445
@@ -480,7 +480,7 @@ void LayerSnapshotBuilder::updateSnapshots(const Args& args) {
480480 while (it < mSnapshots .end ()) {
481481 auto & traversalPath = it->get ()->path ;
482482 const bool unreachable =
483- it->get ()->reachablilty == LayerSnapshot::Reachablilty ::Unreachable;
483+ it->get ()->reachability == LayerSnapshot::Reachability ::Unreachable;
484484 const bool isClone = traversalPath.isClone ();
485485 const bool layerIsDestroyed =
486486 destroyedLayerIds.find (traversalPath.id ) != destroyedLayerIds.end ();
@@ -631,7 +631,7 @@ bool LayerSnapshotBuilder::sortSnapshotsByZ(const Args& args) {
631631 mSnapshots [globalZ]->globalZ = globalZ;
632632 /* mark unreachable snapshots as explicitly invisible */
633633 updateVisibility (*mSnapshots [globalZ], false );
634- if (mSnapshots [globalZ]->reachablilty == LayerSnapshot::Reachablilty ::Unreachable) {
634+ if (mSnapshots [globalZ]->reachability == LayerSnapshot::Reachability ::Unreachable) {
635635 hasUnreachableSnapshots = true ;
636636 }
637637 globalZ++;
@@ -655,8 +655,8 @@ void LayerSnapshotBuilder::updateRelativeState(LayerSnapshot& snapshot,
655655 snapshot.relativeLayerMetadata = parentSnapshot.relativeLayerMetadata ;
656656 }
657657 }
658- if (snapshot.reachablilty == LayerSnapshot::Reachablilty ::Unreachable) {
659- snapshot.reachablilty = LayerSnapshot::Reachablilty ::ReachableByRelativeParent;
658+ if (snapshot.reachability == LayerSnapshot::Reachability ::Unreachable) {
659+ snapshot.reachability = LayerSnapshot::Reachability ::ReachableByRelativeParent;
660660 }
661661}
662662
@@ -730,7 +730,7 @@ void LayerSnapshotBuilder::updateSnapshot(LayerSnapshot& snapshot, const Args& a
730730 RequestedLayerState::Changes::FrameRate | RequestedLayerState::Changes::GameMode);
731731 snapshot.changes |= parentChanges;
732732 if (args.displayChanges ) snapshot.changes |= RequestedLayerState::Changes::Geometry;
733- snapshot.reachablilty = LayerSnapshot::Reachablilty ::Reachable;
733+ snapshot.reachability = LayerSnapshot::Reachability ::Reachable;
734734 snapshot.clientChanges |= (parentSnapshot.clientChanges & layer_state_t ::AFFECTS_CHILDREN);
735735 // mark the content as dirty if the parent state changes can dirty the child's content (for
736736 // example alpha)
0 commit comments