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

Unified Diff: third_party/WebKit/Source/core/html/HTMLOutputElementTest.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/HTMLOutputElementTest.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLOutputElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLOutputElementTest.cpp
index 09ca7c149681d7953a00cc3db1f6a2ba0c6dbb9a..813d69cb52db1114e0270e3ebebf40d5b14b265d 100644
--- a/third_party/WebKit/Source/core/html/HTMLOutputElementTest.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLOutputElementTest.cpp
@@ -13,8 +13,8 @@ namespace blink {
TEST(HTMLLinkElementSizesAttributeTest, setHTMLForProperty_updatesForAttribute)
{
- RefPtrWillBeRawPtr<Document> document = Document::create();
- RefPtrWillBeRawPtr<HTMLOutputElement> element = HTMLOutputElement::create(*document, /* form: */ nullptr);
+ RawPtr<Document> document = Document::create();
+ RawPtr<HTMLOutputElement> element = HTMLOutputElement::create(*document, /* form: */ nullptr);
EXPECT_EQ(nullAtom, element->getAttribute(HTMLNames::forAttr));
element->htmlFor()->setValue(" strawberry ");
EXPECT_EQ(" strawberry ", element->getAttribute(HTMLNames::forAttr));
@@ -22,9 +22,9 @@ TEST(HTMLLinkElementSizesAttributeTest, setHTMLForProperty_updatesForAttribute)
TEST(HTMLOutputElementTest, setForAttribute_updatesHTMLForPropertyValue)
{
- RefPtrWillBeRawPtr<Document> document = Document::create();
- RefPtrWillBeRawPtr<HTMLOutputElement> element = HTMLOutputElement::create(*document, nullptr);
- RefPtrWillBeRawPtr<DOMTokenList> forTokens = element->htmlFor();
+ RawPtr<Document> document = Document::create();
+ RawPtr<HTMLOutputElement> element = HTMLOutputElement::create(*document, nullptr);
+ RawPtr<DOMTokenList> forTokens = element->htmlFor();
EXPECT_EQ(nullAtom, forTokens->value());
element->setAttribute(HTMLNames::forAttr, "orange grape");
EXPECT_EQ("orange grape", forTokens->value());
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLOutputElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLPlugInElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698