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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTableRowElementTest.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, 9 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/HTMLTableRowElementTest.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTableRowElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLTableRowElementTest.cpp
index d6d661ee062001d6f83ea69f8a3b9d34b564569e..29026f755edccf7b54ccfe952595cea0c47c5e56 100644
--- a/third_party/WebKit/Source/core/html/HTMLTableRowElementTest.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTableRowElementTest.cpp
@@ -18,8 +18,8 @@ using namespace blink;
TEST(HTMLTableRowElementTest, rowIndex_notInTable)
{
- RefPtrWillBeRawPtr<Document> document = Document::create();
- RefPtrWillBeRawPtr<HTMLTableRowElement> row =
+ RawPtr<Document> document = Document::create();
+ RawPtr<HTMLTableRowElement> row =
HTMLTableRowElement::create(*document);
EXPECT_EQ(-1, row->rowIndex())
<< "rows not in tables should have row index -1";
@@ -27,10 +27,10 @@ TEST(HTMLTableRowElementTest, rowIndex_notInTable)
TEST(HTMLTableRowElementTest, rowIndex_directChildOfTable)
{
- RefPtrWillBeRawPtr<Document> document = Document::create();
- RefPtrWillBeRawPtr<HTMLTableElement> table =
+ RawPtr<Document> document = Document::create();
+ RawPtr<HTMLTableElement> table =
HTMLTableElement::create(*document);
- RefPtrWillBeRawPtr<HTMLTableRowElement> row =
+ RawPtr<HTMLTableRowElement> row =
HTMLTableRowElement::create(*document);
table->appendChild(row);
EXPECT_EQ(0, row->rowIndex())
@@ -39,14 +39,14 @@ TEST(HTMLTableRowElementTest, rowIndex_directChildOfTable)
TEST(HTMLTableRowElementTest, rowIndex_inUnrelatedElementInTable)
{
- RefPtrWillBeRawPtr<Document> document = Document::create();
- RefPtrWillBeRawPtr<HTMLTableElement> table =
+ RawPtr<Document> document = Document::create();
+ RawPtr<HTMLTableElement> table =
HTMLTableElement::create(*document);
// Almost any element will do; what's pertinent is that this is not
// THEAD, TBODY or TFOOT.
- RefPtrWillBeRawPtr<HTMLParagraphElement> paragraph =
+ RawPtr<HTMLParagraphElement> paragraph =
HTMLParagraphElement::create(*document);
- RefPtrWillBeRawPtr<HTMLTableRowElement> row =
+ RawPtr<HTMLTableRowElement> row =
HTMLTableRowElement::create(*document);
table->appendChild(paragraph);
paragraph->appendChild(row);

Powered by Google App Engine
This is Rietveld 408576698