Bug 1271477 - Unbreak --disable-dbus build after bug 1266054. r=karlt

This commit is contained in:
Jan Beich 2016-05-09 18:51:00 +02:00
parent 1251952870
commit c6b43ec415

View File

@ -14,7 +14,10 @@
#include "nsClassHashtable.h"
#include "nsIDOMWakeLockListener.h"
#ifdef MOZ_ENABLE_DBUS
#include "mozilla/ipc/DBusConnectionRefPtr.h"
#endif
class WakeLockTopic;
@ -39,7 +42,9 @@ private:
static WakeLockListener* sSingleton;
#ifdef MOZ_ENABLE_DBUS
RefPtr<DBusConnection> mConnection;
#endif
// Map of topic names to |WakeLockTopic|s.
// We assume a small, finite-sized set of topics.
nsClassHashtable<nsStringHashKey, WakeLockTopic> mTopics;