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

Commit dc0349be authored by John Reck's avatar John Reck
Browse files

Add missing null check

 Bug: 16352267

Change-Id: Ib60baa6d22ec02ba623a297660e2e3ecc7557d0f
parent 33559c96
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -94,9 +94,11 @@ void RenderNode::output(uint32_t level) {

    properties().debugOutputProperties(level);
    int flags = DisplayListOp::kOpLogFlag_Recurse;
    if (mDisplayListData) {
        for (unsigned int i = 0; i < mDisplayListData->displayListOps.size(); i++) {
            mDisplayListData->displayListOps[i]->output(level, flags);
        }
    }

    ALOGD("%*sDone (%p, %s)", (level - 1) * 2, "", this, getName());
}