mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-07 15:57:31 +09:00
Issue #1053 - Remove MOZ_WIDGET_ANDROID and IDB_MOBILE
This commit is contained in:
parent
0ced696351
commit
348c6604be
43 changed files with 14 additions and 1048 deletions
|
|
@ -14,10 +14,7 @@
|
|||
#include "mozilla/SharedThreadPool.h"
|
||||
#include "mozilla/dom/ContentChild.h"
|
||||
|
||||
#ifndef MOZ_WIDGET_ANDROID
|
||||
#include "WebMSample.h"
|
||||
#endif
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
// Update this version number to force re-running the benchmark. Such as when
|
||||
|
|
@ -34,9 +31,6 @@ VP9Benchmark::IsVP9DecodeFast()
|
|||
{
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
return false;
|
||||
#else
|
||||
bool hasPref = Preferences::HasUserValue(sBenchmarkFpsPref);
|
||||
uint32_t hadRecentUpdate = Preferences::GetUint(sBenchmarkFpsVersionCheck, 0U);
|
||||
|
||||
|
|
@ -81,7 +75,6 @@ VP9Benchmark::IsVP9DecodeFast()
|
|||
Preferences::GetUint("media.benchmark.vp9.threshold", 150);
|
||||
|
||||
return decodeFps >= threshold;
|
||||
#endif
|
||||
}
|
||||
|
||||
Benchmark::Benchmark(MediaDataDemuxer* aDemuxer, const Parameters& aParameters)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue