Bug 563195: Fix -Wshadow warning in nsHtml5ByteReadable.h. r=hsivonen
authorL. David Baron <dbaron@dbaron.org>
Thu, 21 Feb 2013 18:10:59 -0800
changeset 122595 5180dd88f6f6b1439127695a762bc206486706de
parent 122594 8c46f89ed1a2d90407b488ed2825468d5afeda8c
child 122596 3a4630fa83f7b43bde567f8b004cfd2b9ba444ee
push id24349
push userryanvm@gmail.com
push dateFri, 22 Feb 2013 17:43:12 +0000
treeherdermozilla-central@e36f42046452 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershsivonen
bugs563195
milestone22.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 563195: Fix -Wshadow warning in nsHtml5ByteReadable.h. r=hsivonen
parser/html/nsHtml5ByteReadable.h
--- a/parser/html/nsHtml5ByteReadable.h
+++ b/parser/html/nsHtml5ByteReadable.h
@@ -7,19 +7,19 @@
 
 /**
  * A weak reference wrapper around a byte array.
  */
 class nsHtml5ByteReadable
 {
   public:
 
-    nsHtml5ByteReadable(const uint8_t* current, const uint8_t* end)
-     : current(current),
-       end(end)
+    nsHtml5ByteReadable(const uint8_t* aCurrent, const uint8_t* aEnd)
+     : current(aCurrent),
+       end(aEnd)
     {
     }
 
     inline int32_t read() {
       if (current < end) {
         return *(current++);
       } else {
         return -1;