s/CComma/CChar/
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 03 May 2010 19:16:05 -0700
changeset 1557 a344046617ac232c66483e82cdaec75dc3d39ce7
parent 1556 07e0021effbc68a28557e1c1b65808bc5a3f5b4e
child 1558 68617c557da39bcc1f18f26e0748ca984d772656
push id1255
push userdholbert@mozilla.com
push dateTue, 04 May 2010 02:16:20 +0000
s/CComma/CChar/
tokenizer_extendCstringVersion
--- a/tokenizer_extendCstringVersion
+++ b/tokenizer_extendCstringVersion
@@ -103,28 +103,32 @@ diff --git a/security/manager/ssl/src/ns
      if (!host.IsEmpty()) {
        mRenegoUnrestrictedSites->Put(host);
      }
    }
  }
 diff --git a/xpcom/ds/nsCharSeparatedTokenizer.h b/xpcom/ds/nsCharSeparatedTokenizer.h
 --- a/xpcom/ds/nsCharSeparatedTokenizer.h
 +++ b/xpcom/ds/nsCharSeparatedTokenizer.h
-@@ -160,17 +160,19 @@ private:
+@@ -157,20 +157,22 @@ private:
+     PRBool isWhitespace(PRUnichar aChar)
+     {
+         return aChar <= ' ' &&
                 (aChar == ' ' || aChar == '\n' ||
                  aChar == '\r'|| aChar == '\t');
      }
  };
  
- class nsCCommaSeparatedTokenizer
+-class nsCCommaSeparatedTokenizer
++class nsCCharSeparatedTokenizer
  {
  public:
 -    nsCCommaSeparatedTokenizer(const nsCSubstring& aSource)
-+    nsCCommaSeparatedTokenizer(const nsCSubstring& aSource,
-+                               char aSeparatorChar)
++    nsCCharSeparatedTokenizer(const nsCSubstring& aSource,
++                              char aSeparatorChar)
 +        : mSeparatorChar(aSeparatorChar)
      {
          aSource.BeginReading(mIter);
          aSource.EndReading(mEnd);
  
          while (mIter != mEnd && isWhitespace(*mIter)) {
              ++mIter;
          }