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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementRegistrationContext.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/custom/CustomElementRegistrationContext.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistrationContext.h b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistrationContext.h
index c4489971b0e395e82239a1f41da8dcf795277fd9..04334f0654ed997b18c8e2654bd8d9bdd82fe55d 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistrationContext.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistrationContext.h
@@ -43,11 +43,11 @@
namespace blink {
-class CustomElementRegistrationContext final : public RefCountedWillBeGarbageCollectedFinalized<CustomElementRegistrationContext> {
+class CustomElementRegistrationContext final : public GarbageCollectedFinalized<CustomElementRegistrationContext> {
public:
- static PassRefPtrWillBeRawPtr<CustomElementRegistrationContext> create()
+ static RawPtr<CustomElementRegistrationContext> create()
{
- return adoptRefWillBeNoop(new CustomElementRegistrationContext());
+ return new CustomElementRegistrationContext();
}
~CustomElementRegistrationContext() { }
@@ -56,7 +56,7 @@ public:
// Definitions
void registerElement(Document*, CustomElementConstructorBuilder*, const AtomicString& type, CustomElement::NameSet validNames, ExceptionState&);
- PassRefPtrWillBeRawPtr<Element> createCustomTagElement(Document&, const QualifiedName&);
+ RawPtr<Element> createCustomTagElement(Document&, const QualifiedName&);
static void setIsAttributeAndTypeExtension(Element*, const AtomicString& type);
static void setTypeExtension(Element*, const AtomicString& type);
@@ -76,7 +76,7 @@ private:
CustomElementRegistry m_registry;
// Element creation
- OwnPtrWillBeMember<CustomElementUpgradeCandidateMap> m_candidates;
+ Member<CustomElementUpgradeCandidateMap> m_candidates;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698