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

Unified Diff: third_party/WebKit/Source/core/html/HTMLOutputElementTest.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/HTMLOutputElementTest.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLOutputElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLOutputElementTest.cpp
index 2d905a17f488609462d35363de4e169e65424a42..09ca7c149681d7953a00cc3db1f6a2ba0c6dbb9a 100644
--- a/third_party/WebKit/Source/core/html/HTMLOutputElementTest.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLOutputElementTest.cpp
@@ -5,7 +5,7 @@
#include "core/html/HTMLOutputElement.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"
@@ -24,7 +24,7 @@ TEST(HTMLOutputElementTest, setForAttribute_updatesHTMLForPropertyValue)
{
RefPtrWillBeRawPtr<Document> document = Document::create();
RefPtrWillBeRawPtr<HTMLOutputElement> element = HTMLOutputElement::create(*document, nullptr);
- RefPtrWillBeRawPtr<DOMSettableTokenList> forTokens = element->htmlFor();
+ RefPtrWillBeRawPtr<DOMTokenList> forTokens = element->htmlFor();
EXPECT_EQ(nullAtom, forTokens->value());
element->setAttribute(HTMLNames::forAttr, "orange grape");
EXPECT_EQ("orange grape", forTokens->value());

Powered by Google App Engine
This is Rietveld 408576698