Changeset 427 for trunk/WebCore/bindings/js/JSDOMWindowBase.cpp
- Timestamp:
- 08/01/08 14:47:24 (5 months ago)
- Files:
-
- trunk/WebCore/bindings/js/JSDOMWindowBase.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/WebCore/bindings/js/JSDOMWindowBase.cpp
r418 r427 62 62 #include "htmlediting.h" 63 63 #include <kjs/Error.h> 64 #include <kjs/JSLock.h>65 64 #include <wtf/AlwaysInline.h> 66 65 #include <wtf/MathExtras.h> … … 111 110 virtual ~DOMWindowTimer() 112 111 { 113 JSLock lock(false);114 112 delete m_action; 115 113 } … … 872 870 void JSDOMWindowBase::clear() 873 871 { 874 JSLock lock(false); 875 876 if (d->m_returnValueSlot && !*d->m_returnValueSlot) 877 *d->m_returnValueSlot = getDirect(Identifier(globalExec(), "returnValue")); 878 879 clearAllTimeouts(); 880 clearHelperObjectProperties(); 872 if (d->m_returnValueSlot && !*d->m_returnValueSlot) 873 *d->m_returnValueSlot = getDirect(Identifier(globalExec(), "returnValue")); 874 875 clearAllTimeouts(); 876 clearHelperObjectProperties(); 881 877 } 882 878 … … 1272 1268 action->execute(shell()); 1273 1269 1274 JSLock lock(false);1275 1270 delete action; 1276 1271 }
