Bug 1083635. Part 5: ClientLayerManager::BeginTransactionWithTarget should assert if we're not going to take a snapshot. r=mattwoodrow

--HG--
extra : rebase_source : 07cea353735743670cc82031bcbe738932f56829
This commit is contained in:
Robert O'Callahan 2014-10-21 10:32:10 +13:00
Родитель 5670ea50e5
Коммит 2cbfe40f8b
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -217,6 +217,9 @@ ClientLayerManager::BeginTransactionWithTarget(gfxContext* aTarget)
// to it. This will happen at the end of the transaction.
if (aTarget && XRE_GetProcessType() == GeckoProcessType_Default) {
mShadowTarget = aTarget;
} else {
NS_ASSERTION(!aTarget,
"Content-process ClientLayerManager::BeginTransactionWithTarget not supported");
}
// If this is a new paint, increment the paint sequence number.