Bug 836654 - Part 1: Don't require the "power" permission to do GetWakeLockInfo from a child process. r=cjones

This commit is contained in:
Justin Lebar 2013-02-14 15:41:29 -05:00
Родитель e714d6c4cf
Коммит d9f02946ab
1 изменённых файлов: 0 добавлений и 3 удалений

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

@ -735,9 +735,6 @@ public:
virtual bool
RecvGetWakeLockInfo(const nsString &aTopic, WakeLockInformation *aWakeLockInfo) MOZ_OVERRIDE
{
if (!AssertAppProcessPermission(this, "power")) {
return false;
}
hal::GetWakeLockInfo(aTopic, aWakeLockInfo);
return true;
}