Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/html/RelList.h

Issue 1629403003: Merge DOMSettableTokensList into DOMTokensList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar fixed tests Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/html/RelList.h
diff --git a/third_party/WebKit/Source/core/html/RelList.h b/third_party/WebKit/Source/core/html/RelList.h
index 2d0416fe4ccf426e9ce98fec8627237faf0f4c5e..2f0825bd89f4cbab041bace2cdbe5bf73d781aee 100644
--- a/third_party/WebKit/Source/core/html/RelList.h
+++ b/third_party/WebKit/Source/core/html/RelList.h
@@ -9,22 +9,16 @@
#include "core/dom/DOMTokenList.h"
#include "core/dom/Element.h"
#include "core/dom/SpaceSplitString.h"
-#include "wtf/PassOwnPtr.h"
namespace blink {
class RelList final : public DOMTokenList {
public:
- static PassOwnPtrWillBeRawPtr<RelList> create(Element* element)
+ static PassRefPtrWillBeRawPtr<RelList> create(Element* element)
{
- return adoptPtrWillBeNoop(new RelList(element));
+ return adoptRefWillBeNoop(new RelList(element));
}
-#if !ENABLE(OILPAN)
- void ref() override;
- void deref() override;
-#endif
-
unsigned length() const override;
const AtomicString item(unsigned index) const override;

Powered by Google App Engine