Loading
Bug 1777416 - Avoid GetStateForRoot() incorrectly returning a non-root LayerTreeState. a=diannaS
In the case where the LayerTreeState for the input content LayersID was found, but its mParent was null for some reason, the function was incorrectly returning the content LayerTreeState. Instead, in such a case, where the root LayerTreeState cannot be looked up, the function should return null. Original Revision: https://phabricator.services.mozilla.com/D190143 Differential Revision: https://phabricator.services.mozilla.com/D192278