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

Unified Diff: third_party/WebKit/Source/web/WebSearchableFormData.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/WebSearchableFormData.cpp
diff --git a/third_party/WebKit/Source/web/WebSearchableFormData.cpp b/third_party/WebKit/Source/web/WebSearchableFormData.cpp
index 19b1561feb98c95e8d770b670d1a2e5872706762..40bbd9b3848fa04391f7905215e33994eddb47cb 100644
--- a/third_party/WebKit/Source/web/WebSearchableFormData.cpp
+++ b/third_party/WebKit/Source/web/WebSearchableFormData.cpp
@@ -102,7 +102,7 @@ HTMLFormControlElement* buttonToActivate(const HTMLFormElement& form)
// selected state.
bool isSelectInDefaultState(const HTMLSelectElement& select)
{
- const WillBeHeapVector<RawPtrWillBeMember<HTMLElement>>& listItems = select.listItems();
+ const HeapVector<Member<HTMLElement>>& listItems = select.listItems();
if (select.multiple() || select.size() > 1) {
for (const auto& item : listItems) {
if (!isHTMLOptionElement(*item))
@@ -232,8 +232,8 @@ bool buildSearchString(const HTMLFormElement& form, Vector<char>* encodedString,
WebSearchableFormData::WebSearchableFormData(const WebFormElement& form, const WebInputElement& selectedInputElement)
{
- RefPtrWillBeRawPtr<HTMLFormElement> formElement = static_cast<PassRefPtrWillBeRawPtr<HTMLFormElement>>(form);
- HTMLInputElement* inputElement = static_cast<PassRefPtrWillBeRawPtr<HTMLInputElement>>(selectedInputElement).get();
+ RawPtr<HTMLFormElement> formElement = static_cast<RawPtr<HTMLFormElement>>(form);
+ HTMLInputElement* inputElement = static_cast<RawPtr<HTMLInputElement>>(selectedInputElement).get();
// Only consider forms that GET data.
// Allow HTTPS only when an input element is provided.
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698