Bug 617539. Remove nsIPresShell_MOZILLA_2_0_BRANCH(2). r=tnikkel

This commit is contained in:
Robert O'Callahan
2011-04-01 10:33:46 +13:00
parent d3901f782e
commit 6031595cc7
5 changed files with 35 additions and 123 deletions

View File

@@ -181,9 +181,7 @@ NotificationController::ScheduleProcessing()
bool
NotificationController::IsUpdatePending()
{
nsCOMPtr<nsIPresShell_MOZILLA_2_0_BRANCH2> presShell =
do_QueryInterface(mPresShell);
return presShell->IsLayoutFlushObserver() ||
return mPresShell->IsLayoutFlushObserver() ||
mObservingState == eRefreshProcessingForUpdate ||
mContentInsertions.Length() != 0 || mNotifications.Length() != 0 ||
mTextHash.Count() != 0;