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

Unified Diff: Source/web/WebLabelElement.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/WebInputElement.cpp ('k') | Source/web/WebLeakDetector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebLabelElement.cpp
diff --git a/Source/web/WebLabelElement.cpp b/Source/web/WebLabelElement.cpp
index ebf5766618df5e65d33d22c93003bcb1c76aae94..2eb5d45b538a38ecf7c775e2127fe87b20bcb610 100644
--- a/Source/web/WebLabelElement.cpp
+++ b/Source/web/WebLabelElement.cpp
@@ -45,18 +45,18 @@ WebElement WebLabelElement::correspondingControl()
return WebElement(unwrap<HTMLLabelElement>()->control());
}
-WebLabelElement::WebLabelElement(const PassRefPtr<HTMLLabelElement>& elem)
+WebLabelElement::WebLabelElement(const PassRefPtrWillBeRawPtr<HTMLLabelElement>& elem)
: WebElement(elem)
{
}
-WebLabelElement& WebLabelElement::operator=(const PassRefPtr<HTMLLabelElement>& elem)
+WebLabelElement& WebLabelElement::operator=(const PassRefPtrWillBeRawPtr<HTMLLabelElement>& elem)
{
m_private = elem;
return *this;
}
-WebLabelElement::operator PassRefPtr<HTMLLabelElement>() const
+WebLabelElement::operator PassRefPtrWillBeRawPtr<HTMLLabelElement>() const
{
return toHTMLLabelElement(m_private.get());
}
« no previous file with comments | « Source/web/WebInputElement.cpp ('k') | Source/web/WebLeakDetector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698