Bug 1411476. P1 - add a space before mAudioCompleted and run clang-format.
MozReview-Commit-ID: DF2BIO97aeB
--- a/dom/media/MediaDecoderStateMachine.cpp
+++ b/dom/media/MediaDecoderStateMachine.cpp
@@ -3694,27 +3694,33 @@ nsCString
MediaDecoderStateMachine::GetDebugInfo()
{
MOZ_ASSERT(OnTaskQueue());
return nsPrintfCString(
"MediaDecoderStateMachine State: GetMediaTime=%" PRId64 " GetClock="
"%" PRId64 " mMediaSink=%p state=%s mPlayState=%d "
"mSentFirstFrameLoadedEvent=%d IsPlaying=%d mAudioStatus=%s "
"mVideoStatus=%s mDecodedAudioEndTime=%" PRId64
- " mDecodedVideoEndTime=%" PRId64 "mAudioCompleted=%d "
+ " mDecodedVideoEndTime=%" PRId64 " mAudioCompleted=%d "
"mVideoCompleted=%d",
GetMediaTime().ToMicroseconds(),
mMediaSink->IsStarted() ? GetClock().ToMicroseconds() : -1,
- mMediaSink.get(), ToStateStr(), mPlayState.Ref(),
- mSentFirstFrameLoadedEvent, IsPlaying(), AudioRequestStatus(),
- VideoRequestStatus(), mDecodedAudioEndTime.ToMicroseconds(),
+ mMediaSink.get(),
+ ToStateStr(),
+ mPlayState.Ref(),
+ mSentFirstFrameLoadedEvent,
+ IsPlaying(),
+ AudioRequestStatus(),
+ VideoRequestStatus(),
+ mDecodedAudioEndTime.ToMicroseconds(),
mDecodedVideoEndTime.ToMicroseconds(),
- mAudioCompleted, mVideoCompleted)
- + mStateObj->GetDebugInfo() + nsCString("\n")
- + mMediaSink->GetDebugInfo();
+ mAudioCompleted,
+ mVideoCompleted) +
+ mStateObj->GetDebugInfo() + nsCString("\n") +
+ mMediaSink->GetDebugInfo();
}
RefPtr<MediaDecoder::DebugInfoPromise>
MediaDecoderStateMachine::RequestDebugInfo()
{
using PromiseType = MediaDecoder::DebugInfoPromise;
RefPtr<PromiseType::Private> p = new PromiseType::Private(__func__);
RefPtr<MediaDecoderStateMachine> self = this;