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 08afd8b179285a410d394d2a50d2869297bf53b2..1e11a8a05dcff5330c0c93ebc8bff54d71ad0f01 100644 |
--- a/Source/core/html/track/vtt/VTTCue.cpp |
+++ b/Source/core/html/track/vtt/VTTCue.cpp |
@@ -435,19 +435,18 @@ void VTTCue::copyVTTNodeToDOMTree(ContainerNode* vttNode, ContainerNode* parent) |
} |
} |
-PassRefPtr<DocumentFragment> VTTCue::getCueAsHTML() |
+PassRefPtrWillBeRawPtr<DocumentFragment> VTTCue::getCueAsHTML() |
{ |
createVTTNodeTree(); |
- RefPtr<DocumentFragment> clonedFragment = DocumentFragment::create(document()); |
+ RefPtrWillBeRawPtr<DocumentFragment> clonedFragment = DocumentFragment::create(document()); |
copyVTTNodeToDOMTree(m_vttNodeTree.get(), clonedFragment.get()); |
return clonedFragment.release(); |
} |
-PassRefPtr<DocumentFragment> VTTCue::createCueRenderingTree() |
+PassRefPtrWillBeRawPtr<DocumentFragment> VTTCue::createCueRenderingTree() |
{ |
- RefPtr<DocumentFragment> clonedFragment; |
createVTTNodeTree(); |
- clonedFragment = DocumentFragment::create(document()); |
+ RefPtrWillBeRawPtr<DocumentFragment> clonedFragment = DocumentFragment::create(document()); |
m_vttNodeTree->cloneChildNodes(clonedFragment.get()); |
return clonedFragment.release(); |
} |
@@ -712,7 +711,7 @@ void VTTCue::updateDisplayTree(double movieTime) |
m_cueBackgroundBox->removeChildren(); |
// Update the two sets containing past and future WebVTT objects. |
- RefPtr<DocumentFragment> referenceTree = createCueRenderingTree(); |
+ RefPtrWillBeRawPtr<DocumentFragment> referenceTree = createCueRenderingTree(); |
markFutureAndPastNodes(referenceTree.get(), startTime(), movieTime); |
m_cueBackgroundBox->appendChild(referenceTree, ASSERT_NO_EXCEPTION); |
} |