Bug 1305422 - part 9 - remove {start,end} from ns{Reading,Writing}Iterator; r=erahm
authorNathan Froyd <froydnj@mozilla.com>
Thu, 29 Sep 2016 22:33:57 -0400
changeset 315872 55be43ac96c9037c2245b3cf0b90f59b38364984
parent 315871 8c6e2e1c4f2a897c153fd6be9a2a6cb52ba2d8d6
child 315873 32b8ba9f7a51219440ba512f2a120d0d85e139e5
push id30757
push usercbook@mozilla.com
push dateFri, 30 Sep 2016 10:02:43 +0000
treeherdermozilla-central@5ffed033557e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerserahm
bugs1305422
milestone52.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 1305422 - part 9 - remove {start,end} from ns{Reading,Writing}Iterator; r=erahm These methods are now unused thanks to previous patches.
xpcom/string/nsStringIterator.h
--- a/xpcom/string/nsStringIterator.h
+++ b/xpcom/string/nsStringIterator.h
@@ -41,26 +41,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
 
-  pointer start() const
-  {
-    return mStart;
-  }
-
-  pointer end() const
-  {
-    return mEnd;
-  }
-
   pointer get() const
   {
     return mPosition;
   }
 
   CharT operator*() const
   {
     return *get();
@@ -173,26 +163,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
 
-  pointer start() const
-  {
-    return mStart;
-  }
-
-  pointer end() const
-  {
-    return mEnd;
-  }
-
   pointer get() const
   {
     return mPosition;
   }
 
   reference operator*() const
   {
     return *get();