Changeset 136190 in webkit
- Timestamp:
- Nov 29, 2012, 5:25:07 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
r136181 r136190 1 2012-11-29 Anders Carlsson <andersca@apple.com> 2 3 Initialize m_xpcConnection to null if the identifier doesn't have an XPC connection 4 https://bugs.webkit.org/show_bug.cgi?id=103689 5 6 Reviewed by Darin Adler. 7 8 * Platform/CoreIPC/mac/ConnectionMac.cpp: 9 (CoreIPC::Connection::platformInitialize): 10 1 11 2012-11-29 Christophe Dumez <christophe.dumez@intel.com> 2 12 -
trunk/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp
r136172 r136190 93 93 94 94 #if HAVE(XPC) 95 m_xpcConnection = identifier.xpcConnection; 95 96 // FIXME: Instead of explicitly retaining the connection here, Identifier::xpcConnection 96 97 // should just be a smart pointer. 97 if ( identifier.xpcConnection)98 m_xpcConnection = static_cast<xpc_connection_t>(xpc_retain(identifier.xpcConnection));98 if (m_xpcConnection) 99 xpc_retain(m_xpcConnection); 99 100 #endif 100 101 }
Note:
See TracChangeset
for help on using the changeset viewer.