Bug 1305422 - part 1 - remove normalize* methods from ns{Reading,Writing}Iterator; r=erahm
authorNathan Froyd <froydnj@mozilla.com>
Thu, 29 Sep 2016 22:33:58 -0400
changeset 315871 77a8d7d6a0fb5fb4cdce1c9edf68a573f7d3de55
parent 315870 64465dd73b9751efed80449c38f82770bd0693b9
child 315872 8313868b4334a07005ec359e6b0745ee395f10ad
push id20634
push usercbook@mozilla.com
push dateFri, 30 Sep 2016 10:10:13 +0000
treeherderfx-team@afe79b010d13 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerserahm
bugs1305422
milestone52.0a1
Bug 1305422 - part 1 - remove normalize* methods from ns{Reading,Writing}Iterator; r=erahm They are never called.
xpcom/string/nsStringIterator.h
--- a/xpcom/string/nsStringIterator.h
+++ b/xpcom/string/nsStringIterator.h
@@ -40,23 +40,16 @@ private:
 
 public:
   nsReadingIterator()
   {
   }
   // nsReadingIterator( const nsReadingIterator<CharT>& );                    // auto-generated copy-constructor OK
   // nsReadingIterator<CharT>& operator=( const nsReadingIterator<CharT>& );  // auto-generated copy-assignment operator OK
 
-  inline void normalize_forward()
-  {
-  }
-  inline void normalize_backward()
-  {
-  }
-
   pointer start() const
   {
     return mStart;
   }
 
   pointer end() const
   {
     return mEnd;
@@ -167,23 +160,16 @@ private:
 
 public:
   nsWritingIterator()
   {
   }
   // nsWritingIterator( const nsWritingIterator<CharT>& );                    // auto-generated copy-constructor OK
   // nsWritingIterator<CharT>& operator=( const nsWritingIterator<CharT>& );  // auto-generated copy-assignment operator OK
 
-  inline void normalize_forward()
-  {
-  }
-  inline void normalize_backward()
-  {
-  }
-
   pointer start() const
   {
     return mStart;
   }
 
   pointer end() const
   {
     return mEnd;