Index: Source/core/html/track/TextTrackCue.cpp |
diff --git a/Source/core/html/track/TextTrackCue.cpp b/Source/core/html/track/TextTrackCue.cpp |
index 6648b225d356206781ac4d5836f6514693ef04a9..167f03209d0f0dcf031bef1ba3174be2cc567f2c 100644 |
--- a/Source/core/html/track/TextTrackCue.cpp |
+++ b/Source/core/html/track/TextTrackCue.cpp |
@@ -516,7 +516,7 @@ void TextTrackCue::copyWebVTTNodeToDOMTree(ContainerNode* webVTTNode, ContainerN |
PassRefPtr<DocumentFragment> TextTrackCue::getCueAsHTML() |
{ |
createWebVTTNodeTree(); |
- RefPtr<DocumentFragment> clonedFragment = DocumentFragment::create(ownerDocument()); |
+ RefPtr<DocumentFragment> clonedFragment = DocumentFragment::create(*ownerDocument()); |
copyWebVTTNodeToDOMTree(m_webVTTNodeTree.get(), clonedFragment.get()); |
return clonedFragment.release(); |
} |
@@ -525,7 +525,7 @@ PassRefPtr<DocumentFragment> TextTrackCue::createCueRenderingTree() |
{ |
RefPtr<DocumentFragment> clonedFragment; |
createWebVTTNodeTree(); |
- clonedFragment = DocumentFragment::create(ownerDocument()); |
+ clonedFragment = DocumentFragment::create(*ownerDocument()); |
m_webVTTNodeTree->cloneChildNodes(clonedFragment.get()); |
return clonedFragment.release(); |
} |