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

Unified Diff: third_party/WebKit/Source/core/html/forms/InputType.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, 10 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/InputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/InputType.cpp b/third_party/WebKit/Source/core/html/forms/InputType.cpp
index 947a3573b27d4d2d453d4976acbfbee5bbb28207..4cdac0e4741541296700b8717fab1c2a8e03d87d 100644
--- a/third_party/WebKit/Source/core/html/forms/InputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/InputType.cpp
@@ -75,7 +75,7 @@ namespace blink {
using blink::WebLocalizedString;
using namespace HTMLNames;
-using InputTypeFactoryFunction = PassRefPtrWillBeRawPtr<InputType> (*)(HTMLInputElement&);
+using InputTypeFactoryFunction = RawPtr<InputType> (*)(HTMLInputElement&);
using InputTypeFactoryMap = HashMap<AtomicString, InputTypeFactoryFunction, CaseFoldingHash>;
static PassOwnPtr<InputTypeFactoryMap> createInputTypeFactoryMap()
@@ -112,7 +112,7 @@ static const InputTypeFactoryMap* factoryMap()
return factoryMap;
}
-PassRefPtrWillBeRawPtr<InputType> InputType::create(HTMLInputElement& element, const AtomicString& typeName)
+RawPtr<InputType> InputType::create(HTMLInputElement& element, const AtomicString& typeName)
{
InputTypeFactoryFunction factory = typeName.isEmpty() ? 0 : factoryMap()->get(typeName);
if (!factory)
@@ -120,7 +120,7 @@ PassRefPtrWillBeRawPtr<InputType> InputType::create(HTMLInputElement& element, c
return factory(element);
}
-PassRefPtrWillBeRawPtr<InputType> InputType::createText(HTMLInputElement& element)
+RawPtr<InputType> InputType::createText(HTMLInputElement& element)
{
return TextInputType::create(element);
}

Powered by Google App Engine
This is Rietveld 408576698