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

Unified Diff: third_party/WebKit/Source/core/html/HTMLLinkElementSizesAttributeTest.cpp

Issue 1629403003: Merge DOMSettableTokensList into DOMTokensList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed non-oilpan inheritance 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/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());
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLinkElement.idl ('k') | third_party/WebKit/Source/core/html/HTMLOutputElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698