Changeset 53037 in webkit
- Timestamp:
- Jan 8, 2010 11:40:02 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r53036 r53037 1 2010-01-08 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Dmitry Titov. 4 5 bindings/v8/DOMData is missing a virtual destructor 6 https://bugs.webkit.org/show_bug.cgi?id=33390 7 8 DOMData is the base class for ChildThreadDOMData and MainThreadDOMData classes 9 but it does not have a virtual destructor. While this isn't currently causing 10 any leaks, since there are no instances of ChildThreadDOMData or 11 MainThreadDOMData that are manipulated via a DOMData pointer, the ARM GCC 12 compiler generates the following compilation error: 13 14 "/WebCore/bindings/v8/DOMData.h:45: error: 'class WebCore::DOMData' has virtual 15 functions and accessible non-virtual destructor" 16 17 We therefore need to add a virtual destructor to DOMData. 18 19 * bindings/v8/DOMData.cpp: 20 (WebCore::DOMData::~DOMData): 21 * bindings/v8/DOMData.h: 22 1 23 2010-01-08 Daniel Bates <dbates@webkit.org> 2 24 -
trunk/WebCore/bindings/v8/DOMData.cpp
r51915 r53037 42 42 , m_isMainThread(WTF::isMainThread()) 43 43 , m_owningThread(WTF::currentThread()) 44 { 45 } 46 47 DOMData::~DOMData() 44 48 { 45 49 } -
trunk/WebCore/bindings/v8/DOMData.h
r51998 r53037 46 46 public: 47 47 DOMData(); 48 virtual ~DOMData(); 48 49 49 50 static DOMData* getCurrent();
Note: See TracChangeset
for help on using the changeset viewer.