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

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

Issue 1865813002: Remove RawPtr from Source/web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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 40bbd9b3848fa04391f7905215e33994eddb47cb..ae46238974d16d5dad7700438518b5ad572f7caf 100644
--- a/third_party/WebKit/Source/web/WebSearchableFormData.cpp
+++ b/third_party/WebKit/Source/web/WebSearchableFormData.cpp
@@ -232,8 +232,8 @@ bool buildSearchString(const HTMLFormElement& form, Vector<char>* encodedString,
WebSearchableFormData::WebSearchableFormData(const WebFormElement& form, const WebInputElement& selectedInputElement)
{
- RawPtr<HTMLFormElement> formElement = static_cast<RawPtr<HTMLFormElement>>(form);
- HTMLInputElement* inputElement = static_cast<RawPtr<HTMLInputElement>>(selectedInputElement).get();
+ HTMLFormElement* formElement = static_cast<HTMLFormElement*>(form);
+ HTMLInputElement* inputElement = static_cast<HTMLInputElement*>(selectedInputElement);
// 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