mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 999884 - Make DBusReplyHandler not use mozilla::RefCounted; r=smaug
--HG-- extra : rebase_source : 3b48a1e8cba18af2871a34b0ef36f2d548dfcc85
This commit is contained in:
parent
302290bece
commit
78aec23d8b
@ -58,12 +58,10 @@ private:
|
||||
* should be passed to the DBus send function, with the class instance as
|
||||
* user-data argument.
|
||||
*/
|
||||
class DBusReplyHandler : public mozilla::RefCounted<DBusReplyHandler>
|
||||
class DBusReplyHandler
|
||||
{
|
||||
public:
|
||||
MOZ_DECLARE_REFCOUNTED_TYPENAME(DBusReplyHandler)
|
||||
virtual ~DBusReplyHandler() {
|
||||
}
|
||||
NS_INLINE_DECL_REFCOUNTING(DBusReplyHandler)
|
||||
|
||||
/**
|
||||
* Implements a call-back function for DBus. The supplied value for
|
||||
@ -89,6 +87,10 @@ protected:
|
||||
{
|
||||
return *this;
|
||||
}
|
||||
|
||||
virtual ~DBusReplyHandler()
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
void log_and_free_dbus_error(DBusError* err,
|
||||
|
Loading…
Reference in New Issue
Block a user