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

Unified Diff: third_party/WebKit/Source/web/WebSelectElement.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
Index: third_party/WebKit/Source/web/WebSelectElement.cpp
diff --git a/third_party/WebKit/Source/web/WebSelectElement.cpp b/third_party/WebKit/Source/web/WebSelectElement.cpp
index 3d5bb855c6c3a81969daa134277dde48f44e64c3..16b2601072e0287cf5ad56766ac1b496c2d3b181 100644
--- a/third_party/WebKit/Source/web/WebSelectElement.cpp
+++ b/third_party/WebKit/Source/web/WebSelectElement.cpp
@@ -40,7 +40,7 @@ namespace blink {
WebVector<WebElement> WebSelectElement::listItems() const
{
- const WillBeHeapVector<RawPtrWillBeMember<HTMLElement>>& sourceItems = constUnwrap<HTMLSelectElement>()->listItems();
+ const HeapVector<Member<HTMLElement>>& sourceItems = constUnwrap<HTMLSelectElement>()->listItems();
WebVector<WebElement> items(sourceItems.size());
for (size_t i = 0; i < sourceItems.size(); ++i)
items[i] = WebElement(sourceItems[i].get());
@@ -48,20 +48,20 @@ WebVector<WebElement> WebSelectElement::listItems() const
return items;
}
-WebSelectElement::WebSelectElement(const PassRefPtrWillBeRawPtr<HTMLSelectElement>& element)
+WebSelectElement::WebSelectElement(const RawPtr<HTMLSelectElement>& element)
: WebFormControlElement(element)
{
}
DEFINE_WEB_NODE_TYPE_CASTS(WebSelectElement, isHTMLSelectElement(constUnwrap<Node>()));
-WebSelectElement& WebSelectElement::operator=(const PassRefPtrWillBeRawPtr<HTMLSelectElement>& element)
+WebSelectElement& WebSelectElement::operator=(const RawPtr<HTMLSelectElement>& element)
{
m_private = element;
return *this;
}
-WebSelectElement::operator PassRefPtrWillBeRawPtr<HTMLSelectElement>() const
+WebSelectElement::operator RawPtr<HTMLSelectElement>() const
{
return toHTMLSelectElement(m_private.get());
}
« no previous file with comments | « third_party/WebKit/Source/web/WebSearchableFormData.cpp ('k') | third_party/WebKit/Source/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698