Bug 1038152 - Make the destructor of WindowsGamepad.cpp's Observer private; r=bjacob

This commit is contained in:
Ehsan Akhgari 2014-07-14 21:49:23 -04:00
Родитель b505b3890c
Коммит 13533598f5
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -281,11 +281,6 @@ public:
}
}
virtual ~Observer()
{
Stop();
}
void SetDeviceChangeTimer()
{
// Set stable timer, since we will get multiple devices-changed
@ -297,6 +292,11 @@ public:
}
private:
virtual ~Observer()
{
Stop();
}
// Gamepad service owns us, we just hold a reference back to it.
WindowsGamepadService& mSvc;
nsCOMPtr<nsITimer> mTimer;