Bug 1458259 - Remove assertion that is no longer valid. r=botond

MozReview-Commit-ID: BMBZJ9q93vA

--HG--
extra : rebase_source : c42a376dc0d589476751e17c68db135e5657d250
This commit is contained in:
Kartikaya Gupta 2018-05-02 12:47:54 -04:00
Родитель c0b090a350
Коммит 39520d0264
1 изменённых файлов: 5 добавлений и 4 удалений

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

@ -1984,10 +1984,11 @@ APZCTreeManager::UpdateZoomConstraints(const ScrollableLayerGuid& aGuid,
{
if (!GetUpdater()->IsUpdaterThread()) {
// This can happen if we're in the UI process and got a call directly from
// nsBaseWidget (as opposed to over PAPZCTreeManager). We want this function
// to run on the updater thread, so bounce it over.
MOZ_ASSERT(XRE_IsParentProcess());
// nsBaseWidget or from a content process over PAPZCTreeManager. In that case
// we get this call on the compositor thread, which may be different from
// the updater thread. It can also happen in the GPU process if that is
// enabled, since the call will go over PAPZCTreeManager and arrive on the
// compositor thread in the GPU process.
GetUpdater()->RunOnUpdaterThread(
aGuid.mLayersId,
NewRunnableMethod<ScrollableLayerGuid, Maybe<ZoomConstraints>>(