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

Unified Diff: third_party/WebKit/Source/core/dom/DOMSettableTokenList.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/dom/DOMSettableTokenList.h
diff --git a/third_party/WebKit/Source/core/dom/DOMSettableTokenList.h b/third_party/WebKit/Source/core/dom/DOMSettableTokenList.h
index 9dd7fd260945c47d55a40980d1214c44da74fa9e..9febb0ccab2a7e3854ba5fb07ff767f4881c02bb 100644
--- a/third_party/WebKit/Source/core/dom/DOMSettableTokenList.h
+++ b/third_party/WebKit/Source/core/dom/DOMSettableTokenList.h
@@ -35,7 +35,7 @@ namespace blink {
class ExceptionState;
-class CORE_EXPORT DOMSettableTokenListObserver : public WillBeGarbageCollectedMixin {
+class CORE_EXPORT DOMSettableTokenListObserver : public GarbageCollectedMixin {
public:
// Called when the value property is set, even if the tokens in
// the set have not changed.
@@ -51,11 +51,10 @@ class CORE_EXPORT DOMSettableTokenList
#endif
{
DEFINE_WRAPPERTYPEINFO();
- USING_FAST_MALLOC_WILL_BE_REMOVED(DOMSettableTokenList);
public:
- static PassRefPtrWillBeRawPtr<DOMSettableTokenList> create(DOMSettableTokenListObserver* observer = nullptr)
+ static RawPtr<DOMSettableTokenList> create(DOMSettableTokenListObserver* observer = nullptr)
{
- return adoptRefWillBeNoop(new DOMSettableTokenList(observer));
+ return (new DOMSettableTokenList(observer));
}
~DOMSettableTokenList() override;
@@ -83,7 +82,7 @@ private:
AtomicString m_value;
SpaceSplitString m_tokens;
- RawPtrWillBeWeakMember<DOMSettableTokenListObserver> m_observer;
+ WeakMember<DOMSettableTokenListObserver> m_observer;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698