Changeset 28482 in webkit
- Timestamp:
- Dec 5, 2007 10:25:24 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r28481 r28482 1 2007-12-05 Darin Adler <darin@apple.com> 2 3 Reviewed by Maciej. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=16266 6 <rdar://problem/5625279> REGRESSION: crash loading CNN.com at 7 Interpreter::createObjectsForGlobalObjectProperties() 8 9 I don't know how to reproduce this in a test. 10 11 * bindings/js/JSDocumentCustom.cpp: (WebCore::JSDocument::mark): 12 Call JSEventTargetNode::mark instead of DOMObject::mark. There's no difference 13 right now, but it's best to call your base class, not your base's base. 14 15 * bindings/js/kjs_events.h: Removed unneeded virtual from the 16 JSUnprotectedEventListener::mark() function; it neither derives from or is 17 derived from anyone else with a mark() function so there's no need for virtual. 18 19 * bindings/js/kjs_window.cpp: (KJS::Window::mark): Call JSGlobalObject::mark, 20 not JSObject::mark. This is the actual bug fix. 21 1 22 2007-12-05 Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk> 2 23 -
trunk/WebCore/bindings/js/JSDocumentCustom.cpp
r28468 r28482 42 42 void JSDocument::mark() 43 43 { 44 DOMObject::mark();44 JSEventTargetNode::mark(); 45 45 ScriptInterpreter::markDOMNodesForDocument(static_cast<Document*>(impl())); 46 46 } -
trunk/WebCore/bindings/js/kjs_events.h
r28468 r28482 58 58 virtual KJS::Window* windowObj() const; 59 59 void clearWindowObj(); 60 v irtual void mark();60 void mark(); 61 61 private: 62 62 KJS::JSObject* m_listener; -
trunk/WebCore/bindings/js/kjs_window.cpp
r28468 r28482 287 287 void Window::mark() 288 288 { 289 JS Object::mark();289 JSGlobalObject::mark(); 290 290 if (d->loc && !d->loc->marked()) 291 291 d->loc->mark();
Note: See TracChangeset
for help on using the changeset viewer.