Changeset 51676 in webkit
- Timestamp:
- Dec 3, 2009 9:28:33 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r51670 r51676 1 2009-12-03 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 The code should say that Document owns DocLoader 6 https://bugs.webkit.org/show_bug.cgi?id=32143 7 8 It's the truth. 9 10 * dom/Document.cpp: 11 (WebCore::Document::~Document): 12 * dom/Document.h: 13 (WebCore::Document::docLoader): 14 1 15 2009-12-03 Chris Fleizach <cfleizach@apple.com> 2 16 -
trunk/WebCore/dom/Document.cpp
r51644 r51676 486 486 m_document = 0; 487 487 delete m_styleSelector; 488 delete m_docLoader;489 488 m_docLoader.clear(); 489 490 490 if (m_renderArena) { 491 491 delete m_renderArena; -
trunk/WebCore/dom/Document.h
r51644 r51676 454 454 void updateLayoutIgnorePendingStylesheets(); 455 455 static void updateStyleForAllDocuments(); // FIXME: Try to reduce the # of calls to this function. 456 DocLoader* docLoader() { return m_docLoader ; }456 DocLoader* docLoader() { return m_docLoader.get(); } 457 457 458 458 virtual void attach(); … … 961 961 962 962 Frame* m_frame; 963 DocLoader*m_docLoader;963 OwnPtr<DocLoader> m_docLoader; 964 964 Tokenizer* m_tokenizer; 965 965 bool m_wellFormed;
Note: See TracChangeset
for help on using the changeset viewer.