| Index: Source/core/html/SubmitInputType.cpp
|
| diff --git a/Source/core/html/SubmitInputType.cpp b/Source/core/html/SubmitInputType.cpp
|
| index 1aadb5f5c746a9cb89d3f2ca2a0790e04ab1b50e..a0d460f4d3e2e647286bdc550cfa3a1c45e9d50a 100644
|
| --- a/Source/core/html/SubmitInputType.cpp
|
| +++ b/Source/core/html/SubmitInputType.cpp
|
| @@ -42,9 +42,9 @@
|
|
|
| namespace WebCore {
|
|
|
| -PassOwnPtr<InputType> SubmitInputType::create(HTMLInputElement* element)
|
| +PassRefPtr<InputType> SubmitInputType::create(HTMLInputElement* element)
|
| {
|
| - return adoptPtr(new SubmitInputType(element));
|
| + return adoptRef(new SubmitInputType(element));
|
| }
|
|
|
| const AtomicString& SubmitInputType::formControlType() const
|
|
|