зеркало из https://github.com/mozilla/gecko-dev.git
Bug 654015 patch 2: Assert that page is hidden when document disconnects from nsSMILAnimationController. r=bz
This commit is contained in:
Родитель
949408e3df
Коммит
cc5b2903be
|
@ -94,6 +94,8 @@ nsSMILAnimationController::Disconnect()
|
|||
NS_ABORT_IF_FALSE(mDocument, "disconnecting when we weren't connected...?");
|
||||
NS_ABORT_IF_FALSE(mRefCnt.get() == 1,
|
||||
"Expecting to disconnect when doc is sole remaining owner");
|
||||
NS_ABORT_IF_FALSE(mPauseState & nsSMILTimeContainer::PAUSE_PAGEHIDE,
|
||||
"Expecting to be paused for pagehide before disconnect");
|
||||
|
||||
StopSampling(GetRefreshDriver());
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче