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

Unified Diff: Source/web/WebElement.cpp

Issue 270573008: Oilpan: Prepare to support garbage-collected Node in WebNode hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add FIXME comments 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
« no previous file with comments | « Source/web/WebDocumentType.cpp ('k') | Source/web/WebFormControlElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebElement.cpp
diff --git a/Source/web/WebElement.cpp b/Source/web/WebElement.cpp
index 31893c7278cd0c61e0cd9fd428a2251f26c21c1f..d80c4e6564a80f711d1320b99726205852fece71 100644
--- a/Source/web/WebElement.cpp
+++ b/Source/web/WebElement.cpp
@@ -172,18 +172,18 @@ WebImage WebElement::imageContents()
return bitmap->bitmap();
}
-WebElement::WebElement(const PassRefPtr<Element>& elem)
+WebElement::WebElement(const PassRefPtrWillBeRawPtr<Element>& elem)
: WebNode(elem)
{
}
-WebElement& WebElement::operator=(const PassRefPtr<Element>& elem)
+WebElement& WebElement::operator=(const PassRefPtrWillBeRawPtr<Element>& elem)
{
m_private = elem;
return *this;
}
-WebElement::operator PassRefPtr<Element>() const
+WebElement::operator PassRefPtrWillBeRawPtr<Element>() const
{
return toElement(m_private.get());
}
« no previous file with comments | « Source/web/WebDocumentType.cpp ('k') | Source/web/WebFormControlElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698