From 504d12bb95c8d32ae29aeb1b5cd66b8e53789df3 Mon Sep 17 00:00:00 2001 From: JW Wang Date: Tue, 1 Mar 2016 10:56:19 +0800 Subject: [PATCH] Bug 1252343. Part 1 - make mReader const. r=bechen. MozReview-Commit-ID: IL0cCd5aUR1 --- dom/media/MediaDecoderStateMachine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/media/MediaDecoderStateMachine.h b/dom/media/MediaDecoderStateMachine.h index f5825516fa54..c747f537314e 100644 --- a/dom/media/MediaDecoderStateMachine.h +++ b/dom/media/MediaDecoderStateMachine.h @@ -903,7 +903,7 @@ private: // The reader, don't call its methods with the decoder monitor held. // This is created in the state machine's constructor. - RefPtr mReader; + const RefPtr mReader; // The end time of the last audio frame that's been pushed onto the media sink // in microseconds. This will approximately be the end time