Merge "Add missing null check"

This commit is contained in:
John Reck
2014-03-25 17:25:33 +00:00
committed by Android (Google) Code Review

View File

@@ -99,11 +99,13 @@ void RenderNode::updateProperties() {
mProperties = mStagingProperties; mProperties = mStagingProperties;
} }
if (mDisplayListData) {
for (size_t i = 0; i < mDisplayListData->children.size(); i++) { for (size_t i = 0; i < mDisplayListData->children.size(); i++) {
RenderNode* childNode = mDisplayListData->children[i]->mDisplayList; RenderNode* childNode = mDisplayListData->children[i]->mDisplayList;
childNode->updateProperties(); childNode->updateProperties();
} }
} }
}
/* /*
* For property operations, we pass a savecount of 0, since the operations aren't part of the * For property operations, we pass a savecount of 0, since the operations aren't part of the