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

Unified Diff: Source/web/WebDocumentType.cpp

Issue 270573008: Oilpan: Prepare to support garbage-collected Node in WebNode hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
Index: Source/web/WebDocumentType.cpp
diff --git a/Source/web/WebDocumentType.cpp b/Source/web/WebDocumentType.cpp
index 243f285dde66ed80fa7a16fc0a8e7cf539403ade..e37b36cabe55452606c3b36821024a193c0e5e31 100644
--- a/Source/web/WebDocumentType.cpp
+++ b/Source/web/WebDocumentType.cpp
@@ -44,18 +44,18 @@ WebString WebDocumentType::name() const
return WebString(constUnwrap<DocumentType>()->name());
}
-WebDocumentType::WebDocumentType(const PassRefPtr<DocumentType>& elem)
+WebDocumentType::WebDocumentType(const PassRefPtrWillBeRawPtr<DocumentType>& elem)
: WebNode(elem)
{
}
-WebDocumentType& WebDocumentType::operator=(const PassRefPtr<DocumentType>& elem)
+WebDocumentType& WebDocumentType::operator=(const PassRefPtrWillBeRawPtr<DocumentType>& elem)
{
m_private = elem;
return *this;
}
-WebDocumentType::operator PassRefPtr<DocumentType>() const
+WebDocumentType::operator PassRefPtrWillBeRawPtr<DocumentType>() const
{
return toDocumentType(m_private.get());
}

Powered by Google App Engine
This is Rietveld 408576698