Bug 1321196 part 1 - typo correction; r?alwu draft
authorKaku Kuo <kaku@mozilla.com>
Wed, 30 Nov 2016 14:43:41 +0800
changeset 445799 3823fb66d004368b4247f6e822d1893e2ed91873
parent 445599 adcc39e3cad0f32aba0efb478cc4a023a5dfc43f
child 445800 bd6b8fd723b6a206704159660b2e032b8835e2c4
push id37610
push userbmo:kaku@mozilla.com
push dateWed, 30 Nov 2016 08:03:30 +0000
reviewersalwu
bugs1321196
milestone53.0a1
Bug 1321196 part 1 - typo correction; r?alwu MozReview-Commit-ID: 4EodGXfjb8i
dom/html/HTMLMediaElement.cpp
--- a/dom/html/HTMLMediaElement.cpp
+++ b/dom/html/HTMLMediaElement.cpp
@@ -948,24 +948,24 @@ private:
   bool mPlayingThroughTheAudioChannel;
   // True if the sound is being captured by the window.
   bool mAudioCapturedByWindow;
   // We have different kinds of suspended cases,
   // - SUSPENDED_PAUSE
   // It's used when we temporary lost platform audio focus. MediaElement can
   // only be resumed when we gain the audio focus again.
   // - SUSPENDED_PAUSE_DISPOSABLE
-  // It's used when user press the pause botton on the remote media-control.
-  // MediaElement can be resumed by reomte media-control or via play().
+  // It's used when user press the pause button on the remote media-control.
+  // MediaElement can be resumed by remote media-control or via play().
   // - SUSPENDED_BLOCK
-  // It's used to reduce the power comsuption, we won't play the auto-play
+  // It's used to reduce the power consumption, we won't play the auto-play
   // audio/video in the page we have never visited before. MediaElement would
   // be resumed when the page is active. See bug647429 for more details.
   // - SUSPENDED_STOP_DISPOSABLE
-  // When we permanently lost platform audio focus, we shuold stop playing
+  // When we permanently lost platform audio focus, we should stop playing
   // and stop the audio channel agent. MediaElement can only be restarted by
   // play().
   SuspendTypes mSuspended;
   // True if media element is audible for users.
   bool mIsOwnerAudible;
 };
 
 NS_IMPL_CYCLE_COLLECTION_CLASS(HTMLMediaElement::AudioChannelAgentCallback)