Closed Bug 1058794 Opened 10 years ago Closed 10 years ago

[CSS/SVG Filters][Refactoring] Change some functions in nsFilterInstance.cpp to return a value instead of nsresult

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: mvujovic, Assigned: mvujovic)

References

Details

Attachments

(1 file)

The following functions always return NS_OK directly and an nsRect/nsRegion by reference:
nsFilterInstance::ComputePostFilterDirtyRegion
nsFilterInstance::ComputePostFilterExtents
nsFilterInstance::ComputeSourceNeededRect

We might as well have them return their nsRect/nsRegion directly.
Blocks: 869828
Attached patch PatchSplinter Review
Attachment #8483629 - Flags: review?(mstange)
Comment on attachment 8483629 [details] [diff] [review]
Patch

Nice!
Attachment #8483629 - Flags: review?(mstange) → review+
https://hg.mozilla.org/mozilla-central/rev/b69530f4eb03
Assignee: nobody → mvujovic
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: