Index: Source/core/html/track/vtt/VTTCue.cpp |
diff --git a/Source/core/html/track/vtt/VTTCue.cpp b/Source/core/html/track/vtt/VTTCue.cpp |
index 9a51cd49b08d9d7f58cd3831c76ba3252438b5fa..302d50aa43e57862970fac7a7005b6321499e435 100644 |
--- a/Source/core/html/track/vtt/VTTCue.cpp |
+++ b/Source/core/html/track/vtt/VTTCue.cpp |
@@ -756,21 +756,6 @@ VTTDisplayParameters VTTCue::calculateDisplayParameters() const |
displayParameters.position.setX(0); |
} |
- // FIXME: Remove this block. |
- if (!m_snapToLines) { |
- if (m_writingDirection == Horizontal && displayParameters.direction == CSSValueLtr) |
- displayParameters.position.setX(computedTextPosition); |
- |
- if (m_writingDirection == Horizontal && displayParameters.direction == CSSValueRtl) |
- displayParameters.position.setX(100 - computedTextPosition); |
- |
- if (m_writingDirection == VerticalGrowingLeft) |
- displayParameters.position = FloatPoint(100 - computedLinePosition, computedTextPosition); |
- |
- if (m_writingDirection == VerticalGrowingRight) |
- displayParameters.position.setY(computedTextPosition); |
- } |
- |
// Step 9 not implemented (margin == 0). |
ASSERT(std::isfinite(displayParameters.size)); |