Changeset 173896 in webkit for trunk/Source/JavaScriptCore/debugger/DebuggerScope.cpp
- Timestamp:
- Sep 23, 2014, 3:29:35 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/debugger/DebuggerScope.cpp
r173517 r173896 143 143 void DebuggerScope::invalidateChain() 144 144 { 145 if (!isValid()) 146 return; 147 145 148 DebuggerScope* scope = this; 146 149 while (scope) { 147 ASSERT(scope->isValid());148 150 DebuggerScope* nextScope = scope->m_next.get(); 149 151 scope->m_next.clear(); 150 scope->m_scope.clear(); 152 scope->m_scope.clear(); // This also marks this scope as invalid. 151 153 scope = nextScope; 152 154 }
Note:
See TracChangeset
for help on using the changeset viewer.