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

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, 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/ClassList.h
diff --git a/third_party/WebKit/Source/core/html/ClassList.h b/third_party/WebKit/Source/core/html/ClassList.h
index 3227520e916b532424f409138b274e94653c1560..f61b4b57b5d015f6665f7093da86282af8108116 100644
--- a/third_party/WebKit/Source/core/html/ClassList.h
+++ b/third_party/WebKit/Source/core/html/ClassList.h
@@ -40,9 +40,9 @@ typedef int ExceptionCode;
class ClassList final : public DOMTokenList {
public:
- static PassOwnPtrWillBeRawPtr<ClassList> create(Element* element)
+ static RawPtr<ClassList> create(Element* element)
{
- return adoptPtrWillBeNoop(new ClassList(element));
+ return (new ClassList(element));
}
#if !ENABLE(OILPAN)
@@ -69,7 +69,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