| 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);
|
| }
|
|
|