Closed
Bug 696210
Opened 13 years ago
Closed 13 years ago
Make DidAnimate methods non-virtual now that all overrides have been eliminated
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla13
People
(Reporter: longsonr, Assigned: longsonr)
References
Details
Attachments
(1 file, 1 obsolete file)
2.50 KB,
patch
|
jwatt
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
Assignee: nobody → longsonr
Attachment #568510 -
Flags: review?(dholbert)
Comment 2•13 years ago
|
||
Comment on attachment 568510 [details] [diff] [review]
patch
>@@ -356,19 +356,19 @@ nsSVGAngle::SetBaseValueString(const nsA
> mAnimValUnit = mBaseValUnit;
> }
> #ifdef MOZ_SMIL
> else {
> aSVGElement->AnimationNeedsResample();
> }
> #endif
>
>- // We don't need to call DidChange* here - we're only called by
>- // nsSVGElement::ParseAttribute under nsGenericElement::SetAttr,
>- // which takes care of notifying.
>+ if (aDoSetAttr) {
>+ aSVGElement->DidChangeAngle(mAttrEnum);
>+ }
> return NS_OK;
> }
Why this change? Is the deleted comment incorrect?
(Hmm, looks like it might be incorrect -- nsSVGAngle::DOMBaseVal::SetValueAsString does appear to call this method.)
This change doesn't seem related to this bug. Unless it's needed for this patch to work for some reason, I'd prefer that we split this off into its own bug. (ideally with a regression test, as I'd imagine it would affect behavior (whereas the rest of this bug's patch should have no functional effect.))
Other than that, r=me
Attachment #568510 -
Flags: review?(dholbert) → review+
Comment 3•13 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #2)
> This change doesn't seem related to this bug
(well, it's related to this bug in that it's got a DidChange call, of course :) but I meant that this is the only chunk in this patch (I think) that adds a *new* DidChange call, rather than just tweaking an existing one)
Assignee | ||
Updated•13 years ago
|
Whiteboard: not ready to land
Assignee | ||
Updated•13 years ago
|
Summary: Make DidChange and DidAnimate methods non-virtual now that all overrides have been eliminated → Make DidAnimate methods non-virtual now that all overrides have been eliminated
Assignee | ||
Comment 4•13 years ago
|
||
Attachment #598572 -
Flags: review?(dholbert)
Assignee | ||
Updated•13 years ago
|
Attachment #568510 -
Attachment is obsolete: true
Assignee | ||
Comment 5•13 years ago
|
||
Brian's bug 629200 did nearly all of this including implementing the changes in comment 2 and it had tests.
![]() |
||
Updated•13 years ago
|
Attachment #598572 -
Flags: review?(dholbert) → review+
Assignee | ||
Comment 6•13 years ago
|
||
Flags: in-testsuite-
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: not ready to land
Target Milestone: --- → mozilla13
You need to log in
before you can comment on or make changes to this bug.
Description
•