Changeset 127219 in webkit
- Timestamp:
- Aug 30, 2012, 5:43:15 PM (14 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/Plugins/Netscape/JSNPObject.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r127215 r127219 1 2012-08-30 Mark Hahnenberg <mhahnenberg@apple.com> 2 3 ~JSNPObject should call invalidate() if it hasn't been called already 4 https://bugs.webkit.org/show_bug.cgi?id=95497 5 6 Reviewed by Geoffrey Garen. 7 8 Finalization is no longer eager, just like destruction, so the original intent behind 9 this ASSERT in ~JSNPObject is no longer relevant. Therefore, we can just call invalidate() 10 ourselves in ~JSNPObject. 11 12 * WebProcess/Plugins/Netscape/JSNPObject.cpp: 13 (WebKit::JSNPObject::~JSNPObject): 14 1 15 2012-08-30 Sam Weinig <sam@webkit.org> 2 16 -
trunk/Source/WebKit2/WebProcess/Plugins/Netscape/JSNPObject.cpp
r127191 r127219 78 78 JSNPObject::~JSNPObject() 79 79 { 80 ASSERT(!m_npObject); 80 if (m_npObject) 81 invalidate(); 81 82 } 82 83
Note:
See TracChangeset
for help on using the changeset viewer.