Changeset 51680 in webkit
- Timestamp:
- Dec 3, 2009 10:19:58 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r51679 r51680 1 2009-12-03 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 OwnPtr<XBLBindingManager> Document::m_bindingManager; 6 https://bugs.webkit.org/show_bug.cgi?id=32147 7 8 The document actually owns the bindingManager. That's what the code 9 should say. 10 11 * dom/Document.cpp: 12 (WebCore::Document::~Document): 13 * dom/Document.h: 14 (WebCore::Document::bindingManager): 15 1 16 2009-12-03 Adam Barth <abarth@webkit.org> 2 17 -
trunk/WebCore/dom/Document.cpp
r51679 r51680 488 488 489 489 #if ENABLE(XBL) 490 delete m_bindingManager;490 m_bindingManager.clear(); 491 491 #endif 492 492 -
trunk/WebCore/dom/Document.h
r51679 r51680 767 767 #if ENABLE(XBL) 768 768 // XBL methods 769 XBLBindingManager* bindingManager() const { return m_bindingManager ; }769 XBLBindingManager* bindingManager() const { return m_bindingManager.get(); } 770 770 #endif 771 771 … … 1089 1089 1090 1090 #if ENABLE(XBL) 1091 XBLBindingManager*m_bindingManager; // The access point through which documents and elements communicate with XBL.1091 OwnPtr<XBLBindingManager> m_bindingManager; // The access point through which documents and elements communicate with XBL. 1092 1092 #endif 1093 1093
Note: See TracChangeset
for help on using the changeset viewer.