Index: Source/core/rendering/RenderTextTrackCue.cpp |
diff --git a/Source/core/rendering/RenderTextTrackCue.cpp b/Source/core/rendering/RenderTextTrackCue.cpp |
index a7fc5b006ba54761d984ca00ae39f4d4a3f02430..a4b6587344c4b443fc57777ff44d38c0091371b9 100644 |
--- a/Source/core/rendering/RenderTextTrackCue.cpp |
+++ b/Source/core/rendering/RenderTextTrackCue.cpp |
@@ -50,12 +50,10 @@ void RenderTextTrackCue::layout() |
LayoutStateMaintainer statePusher(view(), this, locationOffset(), hasTransform() || hasReflection() || style()->isFlippedBlocksWritingMode()); |
- if (m_cue->cueType() == TextTrackCue::WebVTT) { |
- if (m_cue->snapToLines()) |
- repositionCueSnapToLinesSet(); |
- else |
- repositionCueSnapToLinesNotSet(); |
- } |
+ if (m_cue->snapToLines()) |
+ repositionCueSnapToLinesSet(); |
+ else |
+ repositionCueSnapToLinesNotSet(); |
statePusher.pop(); |
} |