| Index: third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp
|
| index b8b7b194c985aca0b9faa531ecc232b08af77047..2755fbcfea9a6d50ad6c0b0eae431ebcaeb30cd7 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp
|
| @@ -14,8 +14,8 @@ namespace blink {
|
|
|
| TEST(HTMLInputElementTest, create)
|
| {
|
| - const RefPtrWillBeRawPtr<Document> document = Document::create();
|
| - RefPtrWillBeRawPtr<HTMLInputElement> input = HTMLInputElement::create(*document, nullptr, /* createdByParser */ false);
|
| + const RawPtr<Document> document = Document::create();
|
| + RawPtr<HTMLInputElement> input = HTMLInputElement::create(*document, nullptr, /* createdByParser */ false);
|
| EXPECT_NE(nullptr, input->userAgentShadowRoot());
|
|
|
| input = HTMLInputElement::create(*document, nullptr, /* createdByParser */ true);
|
| @@ -26,9 +26,9 @@ TEST(HTMLInputElementTest, create)
|
|
|
| TEST(HTMLInputElementTest, NoAssertWhenMovedInNewDocument)
|
| {
|
| - const RefPtrWillBeRawPtr<Document> documentWithoutFrame = Document::create();
|
| + const RawPtr<Document> documentWithoutFrame = Document::create();
|
| EXPECT_EQ(nullptr, documentWithoutFrame->frameHost());
|
| - RefPtrWillBeRawPtr<HTMLHtmlElement> html = HTMLHtmlElement::create(*documentWithoutFrame);
|
| + RawPtr<HTMLHtmlElement> html = HTMLHtmlElement::create(*documentWithoutFrame);
|
| html->appendChild(HTMLBodyElement::create(*documentWithoutFrame));
|
|
|
| // Create an input element with type "range" inside a document without frame.
|
| @@ -49,10 +49,10 @@ TEST(HTMLInputElementTest, NoAssertWhenMovedInNewDocument)
|
|
|
| TEST(HTMLInputElementTest, DefaultToolTip)
|
| {
|
| - RefPtrWillBeRawPtr<Document> document = Document::create();
|
| - RefPtrWillBeRawPtr<HTMLHtmlElement> html = HTMLHtmlElement::create(*document);
|
| + RawPtr<Document> document = Document::create();
|
| + RawPtr<HTMLHtmlElement> html = HTMLHtmlElement::create(*document);
|
| html->appendChild(HTMLBodyElement::create(*document));
|
| - RefPtrWillBeRawPtr<HTMLInputElement> input = HTMLInputElement::create(*document, nullptr, false);
|
| + RawPtr<HTMLInputElement> input = HTMLInputElement::create(*document, nullptr, false);
|
| input->setBooleanAttribute(HTMLNames::requiredAttr, true);
|
| toHTMLBodyElement(html->firstChild())->appendChild(input.get());
|
| document->appendChild(html.release());
|
|
|