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

Unified Diff: Source/web/WebOptionElement.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/WebNode.cpp ('k') | Source/web/WebPluginDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebOptionElement.cpp
diff --git a/Source/web/WebOptionElement.cpp b/Source/web/WebOptionElement.cpp
index a09dd0fac2138981df60f177576692deed2ef045..d1f156295f1e958808af0b5b44a26d9ffac21e4b 100644
--- a/Source/web/WebOptionElement.cpp
+++ b/Source/web/WebOptionElement.cpp
@@ -72,18 +72,18 @@ bool WebOptionElement::isEnabled() const
return !(constUnwrap<HTMLOptionElement>()->isDisabledFormControl());
}
-WebOptionElement::WebOptionElement(const PassRefPtr<HTMLOptionElement>& elem)
+WebOptionElement::WebOptionElement(const PassRefPtrWillBeRawPtr<HTMLOptionElement>& elem)
: WebElement(elem)
{
}
-WebOptionElement& WebOptionElement::operator=(const PassRefPtr<HTMLOptionElement>& elem)
+WebOptionElement& WebOptionElement::operator=(const PassRefPtrWillBeRawPtr<HTMLOptionElement>& elem)
{
m_private = elem;
return *this;
}
-WebOptionElement::operator PassRefPtr<HTMLOptionElement>() const
+WebOptionElement::operator PassRefPtrWillBeRawPtr<HTMLOptionElement>() const
{
return toHTMLOptionElement(m_private.get());
}
« no previous file with comments | « Source/web/WebNode.cpp ('k') | Source/web/WebPluginDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698