Bug 1321196 part 1 - typo correction; r=alwu
authorKaku Kuo <kaku@mozilla.com>
Wed, 30 Nov 2016 14:43:41 +0800
changeset 324900 e972bb041a4e91742496a48672cf63721d3700ee
parent 324899 dc202d732d647ef6cf4cf204aa60aa0be641d077
child 324901 fcabe39c665ff1e8e5a83563748449ca1acc214f
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +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)