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

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElementTest.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/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());

Powered by Google App Engine
This is Rietveld 408576698