Home | History | Annotate | Download | only in core

Lines Matching full:ancestor

156             // Trace back up to a common ancestor, restoring to get our current state to match that
157 // of the ancestor, and saving a list of nodes whose state we need to apply to get to
158 // the target (we can restore up to the ancestor immediately, but we'll need to return
162 Node* ancestor = targetNode;
163 while (tmp != ancestor) {
165 uint16_t targetLevel = ancestor->fLevel;
180 fNodes.push(ancestor);
181 ancestor = ancestor->fParent;
185 if (ancestor->fFlags & Node::kSave_Flag) {
186 if (fCurrentNode != ancestor) {
191 if (targetNode != ancestor) {
195 fCurrentNode = ancestor;