mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 07b42d1d60aa (bug 1073003)
This commit is contained in:
parent
3ca4e18391
commit
712daae3bd
@ -19,7 +19,6 @@
|
||||
#include "nsJSUtils.h"
|
||||
#include "mozilla/dom/BindingUtils.h"
|
||||
#include "mozilla/dom/SettingChangeNotificationBinding.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
|
||||
#define TUNE_THREAD_TIMEOUT_MS 5000
|
||||
|
||||
@ -780,7 +779,7 @@ FMRadioService::SetRDSGroupMask(uint32_t aRDSGroupMask)
|
||||
{
|
||||
mRDSGroupMask = aRDSGroupMask;
|
||||
if (IsFMRadioOn() && mRDSEnabled) {
|
||||
DebugOnly<bool> enabled = hal::EnableRDS(mRDSGroupMask | DOM_PARSED_RDS_GROUPS);
|
||||
bool enabled = hal::EnableRDS(mRDSGroupMask | DOM_PARSED_RDS_GROUPS);
|
||||
MOZ_ASSERT(enabled);
|
||||
}
|
||||
}
|
||||
|
@ -48,7 +48,6 @@
|
||||
#include "HalLog.h"
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/battery/Constants.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/FileUtils.h"
|
||||
#include "mozilla/Monitor.h"
|
||||
#include "mozilla/RefPtr.h"
|
||||
@ -530,7 +529,7 @@ GetCurrentBatteryCharge(int* aCharge)
|
||||
static bool
|
||||
GetCurrentBatteryCharging(int* aCharging)
|
||||
{
|
||||
static const DebugOnly<int> BATTERY_NOT_CHARGING = 0;
|
||||
static const int BATTERY_NOT_CHARGING = 0;
|
||||
static const int BATTERY_CHARGING_USB = 1;
|
||||
static const int BATTERY_CHARGING_AC = 2;
|
||||
|
||||
@ -1314,8 +1313,8 @@ EnsureKernelLowMemKillerParamsSet()
|
||||
nsAutoCString adjParams;
|
||||
nsAutoCString minfreeParams;
|
||||
|
||||
DebugOnly<int32_t> lowerBoundOfNextOomScoreAdj = OOM_SCORE_ADJ_MIN - 1;
|
||||
DebugOnly<int32_t> lowerBoundOfNextKillUnderKB = 0;
|
||||
int32_t lowerBoundOfNextOomScoreAdj = OOM_SCORE_ADJ_MIN - 1;
|
||||
int32_t lowerBoundOfNextKillUnderKB = 0;
|
||||
int32_t countOfLowmemorykillerParametersSets = 0;
|
||||
|
||||
long page_size = sysconf(_SC_PAGESIZE);
|
||||
|
@ -1169,6 +1169,7 @@ WebrtcOMXH264VideoDecoder::Decode(const webrtc::EncodedImage& aInputImage,
|
||||
|
||||
bool feedFrame = true;
|
||||
while (feedFrame) {
|
||||
int64_t timeUs;
|
||||
status_t err = mOMX->FillInput(aInputImage, !configured, aRenderTimeMs);
|
||||
feedFrame = (err == -EAGAIN); // No input buffer available. Try again.
|
||||
}
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "nsString.h"
|
||||
#include "nsStringStream.h"
|
||||
#include "nsAutoPtr.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::net;
|
||||
@ -596,7 +595,7 @@ void RTSPSource::onConnected(bool isSeekable)
|
||||
meta->SetTotalTracks(numTracks);
|
||||
meta->SetMimeType(mimeType);
|
||||
|
||||
DebugOnly<bool> success;
|
||||
bool success;
|
||||
success = format->findInt64(kKeyDuration, &int64Value);
|
||||
MOZ_ASSERT(success);
|
||||
meta->SetDuration(int64Value);
|
||||
@ -714,7 +713,7 @@ void RTSPSource::onTrackDataAvailable(size_t trackIndex)
|
||||
meta = new mozilla::net::RtspMetaData();
|
||||
|
||||
MOZ_ASSERT(accessUnit != NULL);
|
||||
DebugOnly<bool> success = accessUnit->meta()->findInt64("timeUs", &int64Value);
|
||||
bool success = accessUnit->meta()->findInt64("timeUs", &int64Value);
|
||||
MOZ_ASSERT(success);
|
||||
meta->SetTimeStamp(int64Value);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user