Index: Source/core/rendering/RenderTextTrackCue.cpp |
diff --git a/Source/core/rendering/RenderTextTrackCue.cpp b/Source/core/rendering/RenderTextTrackCue.cpp |
index b1327afd8c06cd4f3d42eb885a6d908b7bfa8597..a7fc5b006ba54761d984ca00ae39f4d4a3f02430 100644 |
--- a/Source/core/rendering/RenderTextTrackCue.cpp |
+++ b/Source/core/rendering/RenderTextTrackCue.cpp |
@@ -24,7 +24,6 @@ |
*/ |
#include "config.h" |
- |
#include "core/rendering/RenderTextTrackCue.h" |
#include "core/html/track/TextTrackCue.h" |
@@ -42,14 +41,12 @@ void RenderTextTrackCue::layout() |
{ |
RenderBlockFlow::layout(); |
-#if ENABLE(WEBVTT_REGIONS) |
// If WebVTT Regions are used, the regular WebVTT layout algorithm is no |
// longer necessary, since cues having the region parameter set do not have |
// any positioning parameters. Also, in this case, the regions themselves |
// have positioning information. |
if (!m_cue->regionId().isEmpty()) |
return; |
-#endif |
LayoutStateMaintainer statePusher(view(), this, locationOffset(), hasTransform() || hasReflection() || style()->isFlippedBlocksWritingMode()); |