Changeset 34703 in webkit for trunk/JavaScriptCore/profiler/Profile.cpp
- Timestamp:
- Jun 20, 2008, 2:51:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/profiler/Profile.cpp
r34698 r34703 92 92 // The console.profile that started this profile will be the first child. 93 93 void Profile::removeProfileStart() { 94 ProfileNode* currentNode ;94 ProfileNode* currentNode = 0; 95 95 for (ProfileNode* next = m_head.get(); next; next = next->firstChild()) 96 96 currentNode = next; … … 107 107 // The console.profileEnd that stopped this profile will be the last child. 108 108 void Profile::removeProfileEnd() { 109 ProfileNode* currentNode ;109 ProfileNode* currentNode = 0; 110 110 for (ProfileNode* next = m_head.get(); next; next = next->lastChild()) 111 111 currentNode = next;
Note:
See TracChangeset
for help on using the changeset viewer.