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

Unified Diff: third_party/WebKit/Source/core/dom/DOMStringList.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/dom/DOMStringList.h
diff --git a/third_party/WebKit/Source/core/dom/DOMStringList.h b/third_party/WebKit/Source/core/dom/DOMStringList.h
index 5692428c0a4ef8d7a75a1d62c7ace6e7c7a9d445..a48abec76b936d473904c48981619ad967041b45 100644
--- a/third_party/WebKit/Source/core/dom/DOMStringList.h
+++ b/third_party/WebKit/Source/core/dom/DOMStringList.h
@@ -40,7 +40,7 @@ class ExecutionContext;
// FIXME: Some consumers of this class may benefit from lazily fetching items rather
// than creating the list statically as is currently the only option.
-class CORE_EXPORT DOMStringList final : public RefCountedWillBeGarbageCollectedFinalized<DOMStringList>, public ScriptWrappable {
+class CORE_EXPORT DOMStringList final : public GarbageCollectedFinalized<DOMStringList>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
// We would like to remove DOMStringList from the platform if possible.
@@ -49,9 +49,9 @@ public:
// what path it should take. http://crbug.com/460726
enum Source { IndexedDB, Location };
- static PassRefPtrWillBeRawPtr<DOMStringList> create(Source source)
+ static RawPtr<DOMStringList> create(Source source)
{
- return adoptRefWillBeNoop(new DOMStringList(source));
+ return new DOMStringList(source);
}
bool isEmpty() const { return m_strings.isEmpty(); }
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMImplementation.idl ('k') | third_party/WebKit/Source/core/dom/DOMStringList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698