More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@154743 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -980,11 +980,9 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
|
||||
mSpaceManager->Translate(tx, ty);
|
||||
|
||||
#ifdef IBMBIDI
|
||||
PRBool bidiEnabled;
|
||||
mPresContext->GetBidiEnabled(&bidiEnabled);
|
||||
PRInt32 start, end;
|
||||
|
||||
if (bidiEnabled) {
|
||||
if (mPresContext->BidiEnabled()) {
|
||||
if (aFrame->GetStateBits() & NS_FRAME_IS_BIDI) {
|
||||
aFrame->GetOffsets(start, end);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user