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

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

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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.h ('k') | third_party/WebKit/Source/core/html/ClassList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/ClassList.h
diff --git a/third_party/WebKit/Source/core/html/ClassList.h b/third_party/WebKit/Source/core/html/ClassList.h
index 3227520e916b532424f409138b274e94653c1560..146550b48f3fd564696768a2fb7d876d2851863b 100644
--- a/third_party/WebKit/Source/core/html/ClassList.h
+++ b/third_party/WebKit/Source/core/html/ClassList.h
@@ -30,7 +30,6 @@
#include "core/dom/Element.h"
#include "core/dom/SpaceSplitString.h"
#include "wtf/OwnPtr.h"
-#include "wtf/PassOwnPtr.h"
namespace blink {
@@ -40,16 +39,11 @@ typedef int ExceptionCode;
class ClassList final : public DOMTokenList {
public:
- static PassOwnPtrWillBeRawPtr<ClassList> create(Element* element)
+ static PassRefPtrWillBeRawPtr<ClassList> create(Element* element)
{
- return adoptPtrWillBeNoop(new ClassList(element));
+ return adoptRefWillBeNoop(new ClassList(element));
}
-#if !ENABLE(OILPAN)
- void ref() override;
- void deref() override;
-#endif
-
unsigned length() const override;
const AtomicString item(unsigned index) const override;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.h ('k') | third_party/WebKit/Source/core/html/ClassList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698