Backed out changeset c2c65691e01d (bug 996508) for possibly making Android J3 tests flaky

This commit is contained in:
Wes Kocher 2014-04-28 15:55:53 -07:00
Родитель bfff1455c9
Коммит 4b24f060a1
1 изменённых файлов: 2 добавлений и 9 удалений

Просмотреть файл

@ -1774,7 +1774,6 @@ public:
JS::Handle<JSObject *> aCpows,
nsIPrincipal* aPrincipal)
: nsSameProcessAsyncMessageBase(aCx, aMessage, aData, aCpows, aPrincipal)
, mDelivered(false)
{
}
@ -1783,16 +1782,10 @@ public:
if (nsFrameMessageManager::sPendingSameProcessAsyncMessages) {
nsFrameMessageManager::sPendingSameProcessAsyncMessages->RemoveElement(this);
}
if (!mDelivered) {
mDelivered = true;
nsFrameMessageManager* ppm = nsFrameMessageManager::sSameProcessParentManager;
ReceiveMessage(static_cast<nsIContentFrameMessageManager*>(ppm), ppm);
}
nsFrameMessageManager* ppm = nsFrameMessageManager::sSameProcessParentManager;
ReceiveMessage(static_cast<nsIContentFrameMessageManager*>(ppm), ppm);
return NS_OK;
}
private:
bool mDelivered;
};
/**