Bug 650784 addendum - address an r=smaug review comment accidentally not addressed in the previous patch. DONTBUILD
authorHenri Sivonen <hsivonen@iki.fi>
Thu, 08 Mar 2012 16:45:55 +0200
changeset 88517 a674b76d8d3556d74c8168fa8efbc78a110c952a
parent 88516 9c8f60098608226a12aa6f8e47ee1045cf641378
child 88518 1777403749bc817593f3a5f796a66b4cb6c9d088
push id6876
push userhsivonen@iki.fi
push dateThu, 08 Mar 2012 14:46:53 +0000
treeherdermozilla-inbound@a674b76d8d35 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs650784
milestone13.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 650784 addendum - address an r=smaug review comment accidentally not addressed in the previous patch. DONTBUILD
content/base/src/nsPlainTextSerializer.cpp
--- a/content/base/src/nsPlainTextSerializer.cpp
+++ b/content/base/src/nsPlainTextSerializer.cpp
@@ -1751,17 +1751,17 @@ nsPlainTextSerializer::GetIdForContent(n
  * the stack. To do this correctly to a 100% would require access
  * to style which we don't support in this converter.
  */  
 bool
 nsPlainTextSerializer::IsInPre()
 {
   PRInt32 i = mTagStackIndex;
   while(i > 0) {
-    if (mTagStack[i-1] == nsGkAtoms::pre)
+    if (mTagStack[i - 1] == nsGkAtoms::pre)
       return true;
     if (nsContentUtils::IsHTMLBlock(mTagStack[i - 1])) {
       // We assume that every other block overrides a <pre>
       return false;
     }
     --i;
   }