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

Unified Diff: third_party/WebKit/Source/core/html/forms/SubmitInputType.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/core/html/forms/SubmitInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp b/third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp
index 756c6624df8dae9acc371790f28e88ae677c0c03..663b70b3df20d0061b095a9465aaf8f3f3ae854e 100644
--- a/third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp
@@ -41,10 +41,10 @@
namespace blink {
-PassRefPtrWillBeRawPtr<InputType> SubmitInputType::create(HTMLInputElement& element)
+RawPtr<InputType> SubmitInputType::create(HTMLInputElement& element)
{
UseCounter::count(element.document(), UseCounter::InputTypeSubmit);
- return adoptRefWillBeNoop(new SubmitInputType(element));
+ return new SubmitInputType(element);
}
const AtomicString& SubmitInputType::formControlType() const
@@ -65,7 +65,7 @@ bool SubmitInputType::supportsRequired() const
void SubmitInputType::handleDOMActivateEvent(Event* event)
{
- RefPtrWillBeRawPtr<HTMLInputElement> element(this->element());
+ RawPtr<HTMLInputElement> element(this->element());
if (element->isDisabledFormControl() || !element->form())
return;
element->setActivatedSubmit(true);

Powered by Google App Engine
This is Rietveld 408576698