зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1519636 - Fix some conflicts r=bustage . CLOSED TREE
--HG-- extra : histedit_source : a2071905aa294d25be82b0c29e27fbb8a2e4ccc6
This commit is contained in:
Родитель
ddf2513ea7
Коммит
e16ed69f90
|
@ -977,12 +977,7 @@ void Grouper::PaintContainerItem(DIGroup* aGroup, nsDisplayItem* aItem,
|
|||
auto blendItem = static_cast<nsDisplayBlendMode*>(aItem);
|
||||
auto blendMode = blendItem->BlendMode();
|
||||
aContext->GetDrawTarget()->PushLayerWithBlend(
|
||||
<<<<<<< dest
|
||||
false, 1.0, nullptr, mozilla::gfx::Matrix(), aItemBounds, false,
|
||||
=======
|
||||
false, 1.0, nullptr, mozilla::gfx::Matrix(),
|
||||
aItemBounds + aGroup->mLayerBounds.ToUnknownRect().TopLeft(), false,
|
||||
>>>>>>> source
|
||||
blendMode);
|
||||
GP("beginGroup %s %p-%d\n", aItem->Name(), aItem->Frame(),
|
||||
aItem->GetPerFrameKey());
|
||||
|
@ -996,14 +991,8 @@ void Grouper::PaintContainerItem(DIGroup* aGroup, nsDisplayItem* aItem,
|
|||
break;
|
||||
}
|
||||
case DisplayItemType::TYPE_BLEND_CONTAINER: {
|
||||
<<<<<<< dest
|
||||
aContext->GetDrawTarget()->PushLayer(false, 1.0, nullptr,
|
||||
mozilla::gfx::Matrix(), aItemBounds);
|
||||
=======
|
||||
aContext->GetDrawTarget()->PushLayer(
|
||||
false, 1.0, nullptr, mozilla::gfx::Matrix(),
|
||||
aItemBounds + aGroup->mLayerBounds.ToUnknownRect().TopLeft());
|
||||
>>>>>>> source
|
||||
GP("beginGroup %s %p-%d\n", aItem->Name(), aItem->Frame(),
|
||||
aItem->GetPerFrameKey());
|
||||
aContext->GetDrawTarget()->FlushItem(aItemBounds);
|
||||
|
|
|
@ -388,14 +388,8 @@ static bool Moz2DRenderCallback(const Range<const uint8_t> aBlob,
|
|||
auto bounds = gfx::IntRect(origin, aSize);
|
||||
|
||||
if (aDirtyRect) {
|
||||
<<<<<<< dest
|
||||
Rect dirty(aDirtyRect->origin.x, aDirtyRect->origin.y,
|
||||
aDirtyRect->size.width, aDirtyRect->size.height);
|
||||
=======
|
||||
Rect dirty(aDirtyRect->origin.x + recordingOrigin.x,
|
||||
aDirtyRect->origin.y + recordingOrigin.y, aDirtyRect->size.width,
|
||||
aDirtyRect->size.height);
|
||||
>>>>>>> source
|
||||
dt->PushClipRect(dirty);
|
||||
bounds = bounds.Intersect(
|
||||
IntRect(aDirtyRect->origin.x, aDirtyRect->origin.y,
|
||||
|
|
Загрузка…
Ссылка в новой задаче