DescriptionAvoid unnecessary float<->LayoutUnit conversions in RenderVTTCue
RenderVTTCue::m_fallbackPosition is only used to store the initially
computed position of the cue - it does not need to be a FloatPoint.
Change the type to LayoutPoint and rename to m_defaultPosition, since
that better reflects the naming in spec text.
Also cleanup the includes a bit while here.
BUG=350474
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188273
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|