Bug 1137151: Marked destructor of |MemoryPressureWatcher| as protected, r=dhylands

This commit is contained in:
Thomas Zimmermann 2015-03-10 13:44:02 +01:00
Родитель b863aa329a
Коммит 96d150e2cb
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -60,7 +60,7 @@ namespace {
* between read()s, we sleep by Wait()'ing on a monitor, which we notify on
* shutdown.
*/
class MemoryPressureWatcher
class MemoryPressureWatcher MOZ_FINAL
: public nsIRunnable
, public nsIObserver
{
@ -217,6 +217,9 @@ public:
return NS_OK;
}
protected:
~MemoryPressureWatcher() {}
private:
/**
* Read from aLowMemFd, which we assume corresponds to the