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 1e11a8a05dcff5330c0c93ebc8bff54d71ad0f01..c1fa98f14b8716cb360264ad8ec3369b11f96272 100644 |
--- a/Source/core/html/track/vtt/VTTCue.cpp |
+++ b/Source/core/html/track/vtt/VTTCue.cpp |
@@ -811,7 +811,7 @@ void VTTCue::updateDisplay(const IntSize& videoSize, HTMLDivElement& container) |
} else { |
// Let region be the WebVTT region whose region identifier |
// matches the text track cue region identifier of cue. |
- RefPtr<HTMLDivElement> regionNode = region->getDisplayTree(document()); |
+ RefPtrWillBeRawPtr<HTMLDivElement> regionNode = region->getDisplayTree(document()); |
// Append the region to the viewport, if it was not already. |
if (!container.contains(regionNode.get())) |