Closed
Bug 783835
Opened 12 years ago
Closed 12 years ago
Compositor needs to know the css property being animated
Categories
(Core :: Graphics: Layers, defect)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: dzbarsky, Assigned: dzbarsky)
References
Details
Attachments
(1 file)
12.49 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
This is needed since some properties have different interpolation rules.
Assignee | ||
Comment 1•12 years ago
|
||
Comment on attachment 653118 [details] [diff] [review] Patch Review of attachment 653118 [details] [diff] [review]: ----------------------------------------------------------------- r+ with that fixed. ::: gfx/layers/ipc/CompositorParent.cpp @@ +658,5 @@ > SampleValue(portion, animation, animData.mStartValues[segmentIndex], > animData.mEndValues[segmentIndex], &interpolatedValue); > ShadowLayer* shadow = aLayer->AsShadowLayer(); > switch (interpolatedValue.type()) { > + case Animatable::Tfloat: Shouldn't we switch on the property name here, not the type?
Attachment #653118 -
Flags: review?(roc) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Yes, good catch. https://hg.mozilla.org/integration/mozilla-inbound/rev/e4714af49469
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e4714af49469
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in
before you can comment on or make changes to this bug.
Description
•