зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1423079. Remove the now-unused navigator.cpuHasSSE2 property. r=mystor
MozReview-Commit-ID: 7Zx6xvwWjXZ
This commit is contained in:
Родитель
a3256fcae8
Коммит
03a54660f0
|
@ -49,7 +49,6 @@
|
|||
#include "mozilla/dom/workers/RuntimeService.h"
|
||||
#include "mozilla/Hal.h"
|
||||
#include "mozilla/ClearOnShutdown.h"
|
||||
#include "mozilla/SSE.h"
|
||||
#include "mozilla/StaticPtr.h"
|
||||
#include "Connection.h"
|
||||
#include "mozilla/dom/Event.h" // for nsIDOMEvent::InternalDOMEvent()
|
||||
|
@ -722,12 +721,6 @@ Navigator::HardwareConcurrency()
|
|||
return rts->ClampedHardwareConcurrency();
|
||||
}
|
||||
|
||||
bool
|
||||
Navigator::CpuHasSSE2()
|
||||
{
|
||||
return mozilla::supports_sse2();
|
||||
}
|
||||
|
||||
void
|
||||
Navigator::RefreshMIMEArray()
|
||||
{
|
||||
|
|
|
@ -171,7 +171,6 @@ public:
|
|||
ErrorResult& aRv) const;
|
||||
bool JavaEnabled(CallerType aCallerType, ErrorResult& aRv);
|
||||
uint64_t HardwareConcurrency();
|
||||
bool CpuHasSSE2();
|
||||
bool TaintEnabled()
|
||||
{
|
||||
return false;
|
||||
|
|
|
@ -198,12 +198,6 @@ partial interface Navigator {
|
|||
*/
|
||||
[Throws, ChromeOnly]
|
||||
void removeIdleObserver(MozIdleObserver aIdleObserver);
|
||||
|
||||
/**
|
||||
* Make CPU instruction subset information available for UpdateUtils.
|
||||
*/
|
||||
[ChromeOnly]
|
||||
readonly attribute boolean cpuHasSSE2;
|
||||
};
|
||||
|
||||
// nsIDOMNavigatorDesktopNotification
|
||||
|
|
Загрузка…
Ссылка в новой задаче