Index: third_party/WebKit/Source/core/html/HTMLLinkElementSizesAttributeTest.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElementSizesAttributeTest.cpp b/third_party/WebKit/Source/core/html/HTMLLinkElementSizesAttributeTest.cpp |
index d600eb9d3583ba526b2e8b891bdd5c3ae2e35c86..1f6072fa43a3c23b1e3fb3b16de1d8c2c0e22846 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLLinkElementSizesAttributeTest.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElementSizesAttributeTest.cpp |
@@ -5,7 +5,7 @@ |
#include "core/html/HTMLLinkElement.h" |
#include "core/HTMLNames.h" |
-#include "core/dom/DOMSettableTokenList.h" |
+#include "core/dom/DOMTokenList.h" |
#include "core/dom/Document.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -78,7 +78,7 @@ TEST(HTMLLinkElementSizesAttributeTest, setSizesPropertyValue_updatesAttribute) |
{ |
RefPtrWillBeRawPtr<Document> document = Document::create(); |
RefPtrWillBeRawPtr<HTMLLinkElement> link = HTMLLinkElement::create(*document, /* createdByParser: */ false); |
- RefPtrWillBeRawPtr<DOMSettableTokenList> sizes = link->sizes(); |
+ RefPtrWillBeRawPtr<DOMTokenList> sizes = link->sizes(); |
EXPECT_EQ(nullAtom, sizes->value()); |
sizes->setValue(" a b c "); |
EXPECT_EQ(" a b c ", link->getAttribute(HTMLNames::sizesAttr)); |
@@ -89,7 +89,7 @@ TEST(HTMLLinkElementSizesAttributeTest, setSizesAttribute_updatesSizesPropertyVa |
{ |
RefPtrWillBeRawPtr<Document> document = Document::create(); |
RefPtrWillBeRawPtr<HTMLLinkElement> link = HTMLLinkElement::create(*document, /* createdByParser: */ false); |
- RefPtrWillBeRawPtr<DOMSettableTokenList> sizes = link->sizes(); |
+ RefPtrWillBeRawPtr<DOMTokenList> sizes = link->sizes(); |
EXPECT_EQ(nullAtom, sizes->value()); |
link->setAttribute(HTMLNames::sizesAttr, "y x "); |
EXPECT_EQ("y x ", sizes->value()); |