mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 1262338 (Part 2) - Use the WriteRows API correctly in RemoveFrameRectFilter::AdvanceRow(). r=njn
This commit is contained in:
parent
9e70cde635
commit
030ca494bd
@ -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.
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user