Closed
Bug 1065344
Opened 10 years ago
Closed 10 years ago
Some nsFilterInstance cleanup
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: mstange, Assigned: mstange)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
(deleted),
patch
|
mvujovic
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
mvujovic
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
mvujovic
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Not really related to this bug, but preparatory cleanup.
Attachment #8487132 -
Flags: review?(mvujovic)
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8487134 -
Flags: review?(mvujovic)
Assignee | ||
Comment 3•10 years ago
|
||
I missed this during review: nsPresContext::AppUnitsPerCSSPixel() is a static method and always returns 60, we don't need to store the result.
Attachment #8487136 -
Flags: review?(mvujovic)
Comment 4•10 years ago
|
||
Comment on attachment 8487132 [details] [diff] [review]
part 1: mUserSpaceBounds shouldn't change its meaning temporarily
Review of attachment 8487132 [details] [diff] [review]:
-----------------------------------------------------------------
Looks better!
::: layout/svg/nsSVGFilterInstance.cpp
@@ +104,5 @@
> // The filter region is way too big if there is float -> int overflow.
> return NS_ERROR_FAILURE;
> }
>
> // Undo the temporary transformation of the user space bounds.
This comment mentions the "temporary transformation" we're not doing anymore. I would either remove it, change it to "Set the user space bounds based on the rounded-out filter space bounds.", or something else.
Attachment #8487132 -
Flags: review?(mvujovic) → review+
Comment 5•10 years ago
|
||
Comment on attachment 8487134 [details] [diff] [review]
part 2: Only construct FilterDescription once
Review of attachment 8487134 [details] [diff] [review]:
-----------------------------------------------------------------
Nice!
Attachment #8487134 -
Flags: review?(mvujovic) → review+
Updated•10 years ago
|
Attachment #8487136 -
Flags: review?(mvujovic) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Actually, let's cut this bug here, I'll file a new bug for the rest.
Thanks for the quick reviews!
Summary: Prepare nsFilterInstance for frame-less filter rendering → Some nsFilterInstance cleanup
Assignee | ||
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7de55e234f2d
https://hg.mozilla.org/mozilla-central/rev/84e7c9da710e
https://hg.mozilla.org/mozilla-central/rev/0703f395ca30
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Updated•10 years ago
|
Flags: qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•