mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 551632. endsInDiacritic frame property is set but never used. r=smontagu
This commit is contained in:
parent
1284a86b27
commit
79e3ba391b
@ -351,7 +351,6 @@ GK_ATOM(enctype, "enctype")
|
||||
GK_ATOM(end, "end")
|
||||
GK_ATOM(end_after, "end_after")
|
||||
GK_ATOM(end_before, "end_before")
|
||||
GK_ATOM(endsInDiacritic, "EndsInDiacritic") // PRUint32
|
||||
GK_ATOM(equalsize, "equalsize")
|
||||
GK_ATOM(error, "error")
|
||||
GK_ATOM(even, "even")
|
||||
|
@ -907,22 +907,6 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
|
||||
if (frag) {
|
||||
pfd->SetFlag(PFD_ISNONWHITESPACETEXTFRAME,
|
||||
!content->TextIsOnlyWhitespace());
|
||||
// fix for bug 40882
|
||||
#ifdef IBMBIDI
|
||||
if (mPresContext->BidiEnabled()) {
|
||||
if (frag->Is2b()) {
|
||||
//PRBool isVisual;
|
||||
//mPresContext->IsVisualMode(isVisual);
|
||||
PRUnichar ch = /*(isVisual) ?
|
||||
*(frag->Get2b() + frag->GetLength() - 1) :*/ *frag->Get2b();
|
||||
if (IS_BIDI_DIACRITIC(ch)) {
|
||||
mPresContext->PropertyTable()->SetProperty(aFrame,
|
||||
nsGkAtoms::endsInDiacritic, NS_INT32_TO_PTR(ch),
|
||||
nsnull, nsnull);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // IBMBIDI
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user