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

Unified Diff: third_party/WebKit/Source/web/WebFormElement.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « third_party/WebKit/Source/web/WebFormControlElement.cpp ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebFormElement.cpp
diff --git a/third_party/WebKit/Source/web/WebFormElement.cpp b/third_party/WebKit/Source/web/WebFormElement.cpp
index 18a35118acac39f8bc761f83a9636cc11a0f3680..c4caf24b3a912a2a7b068908230e34d9db5d8450 100644
--- a/third_party/WebKit/Source/web/WebFormElement.cpp
+++ b/third_party/WebKit/Source/web/WebFormElement.cpp
@@ -65,7 +65,7 @@ WebString WebFormElement::method() const
void WebFormElement::getNamedElements(const WebString& name,
WebVector<WebNode>& result)
{
- WillBeHeapVector<RefPtrWillBeMember<Element>> tempVector;
+ HeapVector<Member<Element>> tempVector;
unwrap<HTMLFormElement>()->getNamedElements(name, tempVector);
result.assign(tempVector);
}
@@ -93,20 +93,20 @@ void WebFormElement::finishRequestAutocomplete(WebFormElement::AutocompleteResul
unwrap<HTMLFormElement>()->finishRequestAutocomplete(static_cast<HTMLFormElement::AutocompleteResult>(result));
}
-WebFormElement::WebFormElement(const PassRefPtrWillBeRawPtr<HTMLFormElement>& e)
+WebFormElement::WebFormElement(const RawPtr<HTMLFormElement>& e)
: WebElement(e)
{
}
DEFINE_WEB_NODE_TYPE_CASTS(WebFormElement, isHTMLFormElement(constUnwrap<Node>()));
-WebFormElement& WebFormElement::operator=(const PassRefPtrWillBeRawPtr<HTMLFormElement>& e)
+WebFormElement& WebFormElement::operator=(const RawPtr<HTMLFormElement>& e)
{
m_private = e;
return *this;
}
-WebFormElement::operator PassRefPtrWillBeRawPtr<HTMLFormElement>() const
+WebFormElement::operator RawPtr<HTMLFormElement>() const
{
return toHTMLFormElement(m_private.get());
}
« no previous file with comments | « third_party/WebKit/Source/web/WebFormControlElement.cpp ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698