Bug 1007067 - Add a currentLine->MarkDirty() to wallpaper a bug 936935 regression. r=smontagu a=sledru
authorMats Palmgren <matspal@gmail.com>
Tue, 27 May 2014 13:31:09 +0000
changeset 199315 80b59b6b4da519668e39390a9cb74ed8bada9282
parent 199314 d15fa8e918b104ac0fa9a01ba3d64b1a02f1233d
child 199316 0298a65d38759304592323e2436925832a52d281
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmontagu, sledru
bugs1007067, 936935
milestone31.0a2
Bug 1007067 - Add a currentLine->MarkDirty() to wallpaper a bug 936935 regression. r=smontagu a=sledru
layout/base/nsBidiPresUtils.cpp
--- a/layout/base/nsBidiPresUtils.cpp
+++ b/layout/base/nsBidiPresUtils.cpp
@@ -857,16 +857,17 @@ nsBidiPresUtils::ResolveParagraph(nsBloc
              */
             nsIFrame* next = frame->GetNextInFlow();
             if (next) {
               currentLine->MarkDirty();
               MakeContinuationsNonFluidUpParentChain(frame, next);
             }
           }
           frame->AdjustOffsetsForBidi(contentOffset, contentOffset + fragmentLength);
+          currentLine->MarkDirty();
         }
       } // isTextFrame
       else {
         ++lineOffset;
       }
     } // not bidi control frame
     int32_t temp = runLength;
     runLength -= fragmentLength;