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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/ClassList.h
diff --git a/third_party/WebKit/Source/core/html/ClassList.h b/third_party/WebKit/Source/core/html/ClassList.h
index e4c166187bd56d8405060ea86d241dbfb2549787..7452c55d79395b43648bd42c2dd728a91607572d 100644
--- a/third_party/WebKit/Source/core/html/ClassList.h
+++ b/third_party/WebKit/Source/core/html/ClassList.h
@@ -39,9 +39,9 @@ typedef int ExceptionCode;
class ClassList final : public DOMTokenList {
public:
- static PassRefPtrWillBeRawPtr<ClassList> create(Element* element)
+ static RawPtr<ClassList> create(Element* element)
{
- return adoptRefWillBeNoop(new ClassList(element));
+ return new ClassList(element);
}
#if !ENABLE(OILPAN)
@@ -68,7 +68,7 @@ private:
const AtomicString& value() const override { return m_element->getAttribute(HTMLNames::classAttr); }
void setValue(const AtomicString& value) override { m_element->setAttribute(HTMLNames::classAttr, value); }
- RawPtrWillBeMember<Element> m_element;
+ Member<Element> m_element;
mutable OwnPtr<SpaceSplitString> m_classNamesForQuirksMode;
};

Powered by Google App Engine
This is Rietveld 408576698