PassRefPtr<HTMLDivElement> TextTrackRegion::getDisplayTree() { if (!m_regionDisplayTree) { m_regionDisplayTree = HTMLDivElement::create(ownerDocument()); prepareRegionDisplayTree(); } return m_regionDisplayTree; }
PassRefPtrWillBeRawPtr<HTMLDivElement> VTTRegion::getDisplayTree(Document& document) { if (!m_regionDisplayTree) { m_regionDisplayTree = HTMLDivElement::create(document); prepareRegionDisplayTree(); } return m_regionDisplayTree; }
HTMLDivElement& VTTRegion::getDisplayTree() { if (!m_regionDisplayTree) { m_regionDisplayTree = HTMLDivElement::create(*ownerDocument()); prepareRegionDisplayTree(); } return *m_regionDisplayTree; }