| 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 a414d591d6788a316808e421069c9dbb666850a7..6fb7c381e9e6029ac9e11ea3207fcfc642056553 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/InputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/InputType.cpp
|
| @@ -78,7 +78,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()
|
| @@ -115,7 +115,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)
|
| @@ -123,7 +123,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);
|
| }
|
|
|