Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(939)

Unified Diff: Source/core/html/track/vtt/VTTElement.cpp

Issue 315843004: Oilpan: Replace RefPtrs to Node and its subclasses in core/html with Oilpan transitin types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/track/vtt/VTTElement.h ('k') | Source/core/html/track/vtt/VTTParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/vtt/VTTElement.cpp
diff --git a/Source/core/html/track/vtt/VTTElement.cpp b/Source/core/html/track/vtt/VTTElement.cpp
index a908f4356ec2a6e2601c938407866c43131eb2b5..9f21230f16ae5903cc5665bcdc0a0be68f9b1387 100644
--- a/Source/core/html/track/vtt/VTTElement.cpp
+++ b/Source/core/html/track/vtt/VTTElement.cpp
@@ -83,9 +83,9 @@ PassRefPtrWillBeRawPtr<Element> VTTElement::cloneElementWithoutAttributesAndChil
return clone.release();
}
-PassRefPtr<HTMLElement> VTTElement::createEquivalentHTMLElement(Document& document)
+PassRefPtrWillBeRawPtr<HTMLElement> VTTElement::createEquivalentHTMLElement(Document& document)
{
- RefPtr<HTMLElement> htmlElement;
+ RefPtrWillBeRawPtr<HTMLElement> htmlElement = nullptr;
switch (m_webVTTNodeType) {
case VTTNodeTypeClass:
case VTTNodeTypeLanguage:
« no previous file with comments | « Source/core/html/track/vtt/VTTElement.h ('k') | Source/core/html/track/vtt/VTTParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698