Changeset 34598 in webkit for trunk/JavaScriptCore/API/Node.c
- Timestamp:
- Jun 16, 2008, 6:39:59 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/Node.c
r29672 r34598 1 / / -*- mode: c++; c-basic-offset: 4 -*-1 /* -*- mode: c; c-basic-offset: 4 -*- */ 2 2 /* 3 3 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. … … 50 50 void Node_removeChild(Node* node, Node* child) 51 51 { 52 / / Linear search from tail -- good enough for our purposes here52 /* Linear search from tail -- good enough for our purposes here */ 53 53 NodeLink* current; 54 54 NodeLink** currentHandle; … … 65 65 void Node_replaceChild(Node* node, Node* newChild, Node* oldChild) 66 66 { 67 / / Linear search from tail -- good enough for our purposes here67 /* Linear search from tail -- good enough for our purposes here */ 68 68 NodeLink* current; 69 69 for (current = node->childNodesTail; current; current = current->prev) {
Note:
See TracChangeset
for help on using the changeset viewer.