Bug 1262338 (Part 2) - Use the WriteRows API correctly in RemoveFrameRectFilter::AdvanceRow(). r=njn

This commit is contained in:
Seth Fowler 2016-05-25 22:48:29 -07:00
parent 9e70cde635
commit 030ca494bd

View File

@ -515,11 +515,12 @@ protected:
// We've finished the region specified by the frame rect. Advance to the end
// of the next pipeline stage's buffer, outputting blank rows.
mNext.template WriteRows<uint32_t>([&](uint32_t* aRow, uint32_t aLength) {
memset(rowPtr, 0, aLength * sizeof(uint32_t));
mNext.template WriteRows<uint32_t>([](uint32_t* aRow, uint32_t aLength) {
memset(aRow, 0, aLength * sizeof(uint32_t));
return Nothing();
});
mRow = InputSize().height;
return nullptr; // We're done.
}