Bug 1007067 - Add a currentLine->MarkDirty() to wallpaper a bug 936935 regression. r=smontagu a=lsblakk
authorMats Palmgren <matspal@gmail.com>
Tue, 27 May 2014 16:45:53 +0000
changeset 193415 c3e516fca7b04600dd4791bb8004079e6ae3a4c4
parent 193414 a8baa327bc5f74552392bb67cc78eeeca39d4482
child 193416 c4c795f7c44156ae7b2f722fffe16d8d62467e64
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmontagu, lsblakk
bugs1007067, 936935
milestone30.0
Bug 1007067 - Add a currentLine->MarkDirty() to wallpaper a bug 936935 regression. r=smontagu a=lsblakk
layout/base/nsBidiPresUtils.cpp
--- a/layout/base/nsBidiPresUtils.cpp
+++ b/layout/base/nsBidiPresUtils.cpp
@@ -859,16 +859,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;