Bug 577266 - Correct misspellings in source code: 'verion' -> 'version'
authorFelix Fung <ffung@mozilla.com>
Tue, 06 Sep 2011 22:50:26 -0700
changeset 78017 84694ee135e9911afd1be4de0a6621ff67139c27
parent 78016 813746ec38bff5ad749ebdb9271548ded48fa937
child 78018 750c300b9928476d11fbe37c9e253ae4224a209d
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs577266
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 577266 - Correct misspellings in source code: 'verion' -> 'version'
content/media/ogg/nsOggCodecState.cpp
content/media/ogg/nsOggCodecState.h
js/src/jscntxt.h
widget/public/nsIFormatConverter.idl
--- a/content/media/ogg/nsOggCodecState.cpp
+++ b/content/media/ogg/nsOggCodecState.cpp
@@ -392,17 +392,17 @@ nsTheoraState::PageIn(ogg_page* aPage)
       mPackets.Append(packet);
     }
     mUnstamped.Clear();
   }
   return NS_OK;
 }
 
 // Returns 1 if the Theora info struct is decoding a media of Theora
-// verion (maj,min,sub) or later, otherwise returns 0.
+// version (maj,min,sub) or later, otherwise returns 0.
 int
 TheoraVersion(th_info* info,
               unsigned char maj,
               unsigned char min,
               unsigned char sub)
 {
   ogg_uint32_t ver = (maj << 16) + (min << 8) + sub;
   ogg_uint32_t th_ver = (info->version_major << 16) +
--- a/content/media/ogg/nsOggCodecState.h
+++ b/content/media/ogg/nsOggCodecState.h
@@ -268,17 +268,17 @@ public:
   // Asserts that the number of samples predicted for aPacket is aSamples.
   // This function has no effect if VALIDATE_VORBIS_SAMPLE_CALCULATION
   // is not defined.
   void ValidateVorbisPacketSamples(ogg_packet* aPacket, long aSamples);
 
 };
 
 // Returns 1 if the Theora info struct is decoding a media of Theora
-// verion (maj,min,sub) or later, otherwise returns 0.
+// version (maj,min,sub) or later, otherwise returns 0.
 int TheoraVersion(th_info* info,
                   unsigned char maj,
                   unsigned char min,
                   unsigned char sub);
 
 class nsTheoraState : public nsOggCodecState {
 public:
   nsTheoraState(ogg_page* aBosPage);
--- a/js/src/jscntxt.h
+++ b/js/src/jscntxt.h
@@ -1087,17 +1087,17 @@ struct JSContext
             clearVersionOverride();
         }
     }
 
     /*
      * Return:
      * - The override version, if there is an override version.
      * - The newest scripted frame's version, if there is such a frame.
-     * - The default verion.
+     * - The default version.
      *
      * Note: if this ever shows up in a profile, just add caching!
      */
     JSVersion findVersion() const {
         if (hasVersionOverride)
             return versionOverride;
 
         if (stack.hasfp()) {
--- a/widget/public/nsIFormatConverter.idl
+++ b/widget/public/nsIFormatConverter.idl
@@ -54,17 +54,17 @@ interface nsIFormatConverter : nsISuppor
     * in otherwords, the flavors that this converter can convert "to" (the 
     * outgoing data to the converter).
     *
     * @param  aDataFlavorList fills list with supported flavors
     */
   nsISupportsArray getOutputDataFlavors ( ) ;
 
   /**
-    * Determines whether a converion from one flavor to another is supported
+    * Determines whether a conversion from one flavor to another is supported
     *
     * @param  aFromFormatConverter flavor to convert from
     * @param  aFromFormatConverter flavor to convert to
     */
   boolean canConvert ( in string aFromDataFlavor, in string aToDataFlavor ) ;
 
   /**
     * Converts from one flavor to another.