Lines Matching full:child
92 SkLayer* SkLayer::addChild(SkLayer* child) {
93 SkASSERT(this != child);
94 child->ref();
95 child->detachFromParent();
96 SkASSERT(child->fParent == NULL);
97 child->fParent = this;
99 *m_children.append() = child;
100 return child;
116 SkLayer* child = m_children[i];
117 SkASSERT(child->fParent == this);
118 child->fParent = NULL; // in case it has more than one owner
119 child->unref();