Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 632717e6 authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Add missing null check"

parents 803d91b2 5bf11bb9
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -99,11 +99,13 @@ void RenderNode::updateProperties() {
        mProperties = mStagingProperties;
    }

    if (mDisplayListData) {
        for (size_t i = 0; i < mDisplayListData->children.size(); i++) {
            RenderNode* childNode = mDisplayListData->children[i]->mDisplayList;
            childNode->updateProperties();
        }
    }
}

/*
 * For property operations, we pass a savecount of 0, since the operations aren't part of the