Bug 557795 - non-libxul bustage fix, r=bz, a=blocking

This commit is contained in:
Alexander Surkov 2010-10-14 23:05:12 +09:00
parent 28ebd1d00f
commit b485555fff
2 changed files with 6 additions and 2 deletions

View File

@ -257,7 +257,7 @@ nsHTMLLIAccessible::
nsHyperTextAccessibleWrap(aContent, aShell)
{
nsBlockFrame* blockFrame = do_QueryFrame(GetFrame());
if (blockFrame && !blockFrame->BulletIsEmpty()) {
if (blockFrame && !blockFrame->BulletIsEmptyExternal()) {
mBulletAccessible = new nsHTMLListBulletAccessible(mContent, mWeakShell);
if (mBulletAccessible)
mBulletAccessible->Init();

View File

@ -249,7 +249,11 @@ public:
// do we have either a 'list-style-type' or 'list-style-image' that is
// not 'none'?
PRBool BulletIsEmpty() const;
void GetBulletText(nsAString& aText) const;
virtual PRBool BulletIsEmptyExternal() const
{
return BulletIsEmpty();
}
virtual void GetBulletText(nsAString& aText) const;
virtual void MarkIntrinsicWidthsDirty();
virtual nscoord GetMinWidth(nsIRenderingContext *aRenderingContext);