Changeset 136172 in webkit
- Timestamp:
- Nov 29, 2012, 3:16:13 PM (14 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Platform/CoreIPC/mac/ConnectionMac.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r136159 r136172 1 2012-11-29 Anders Carlsson <andersca@apple.com> 2 3 CoreIPC::Connection should retain its xpc_connection_t 4 https://bugs.webkit.org/show_bug.cgi?id=103671 5 <rdar://problem/12717331> 6 7 Reviewed by Beth Dakin. 8 9 * Platform/CoreIPC/mac/ConnectionMac.cpp: 10 (CoreIPC::Connection::platformInitialize): 11 Retain the xpc_connection_t object here to balance the xpc_object_release in platformInvalidate. 12 1 13 2012-11-29 Brent Fulgham <bfulgham@webkit.org> 2 14 -
trunk/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp
r132085 r136172 93 93 94 94 #if HAVE(XPC) 95 m_xpcConnection = identifier.xpcConnection; 95 // FIXME: Instead of explicitly retaining the connection here, Identifier::xpcConnection 96 // should just be a smart pointer. 97 if (identifier.xpcConnection) 98 m_xpcConnection = static_cast<xpc_connection_t>(xpc_retain(identifier.xpcConnection)); 96 99 #endif 97 100 }
Note:
See TracChangeset
for help on using the changeset viewer.