Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Issue 847813003: Avoid unnecessary float<->LayoutUnit conversions in RenderVTTCue (Closed)

Created:
5 years, 11 months ago by fs
Modified:
5 years, 11 months ago
Reviewers:
philipj_slow
CC:
blink-reviews, blink-reviews-rendering, zoltan1, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, Dominik Röttsches, jchaffraix+rendering
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Avoid 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -8 lines) Patch
M Source/core/rendering/RenderVTTCue.h View 2 chunks +1 line, -3 lines 0 comments Download
M Source/core/rendering/RenderVTTCue.cpp View 3 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
fs
5 years, 11 months ago (2015-01-12 18:00:54 UTC) #2
philipj_slow
lgtm
5 years, 11 months ago (2015-01-13 08:26:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/847813003/1
5 years, 11 months ago (2015-01-13 08:27:39 UTC) #5
commit-bot: I haz the power
5 years, 11 months ago (2015-01-13 08:31:14 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=188273

Powered by Google App Engine
This is Rietveld 408576698