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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentInit.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/DocumentInit.h
diff --git a/third_party/WebKit/Source/core/dom/DocumentInit.h b/third_party/WebKit/Source/core/dom/DocumentInit.h
index 17f4910f00d96106b8447aac993eac48a5770c62..36d21d7d4f03d86fd463dbe6910776320549d622 100644
--- a/third_party/WebKit/Source/core/dom/DocumentInit.h
+++ b/third_party/WebKit/Source/core/dom/DocumentInit.h
@@ -48,8 +48,8 @@ class Settings;
class CORE_EXPORT DocumentInit final {
STACK_ALLOCATED();
public:
- DocumentInit(const KURL& = KURL(), LocalFrame* = nullptr, WeakPtrWillBeRawPtr<Document> contextDocument = nullptr, HTMLImportsController* = nullptr);
- DocumentInit(PassRefPtrWillBeRawPtr<Document> ownerDocument, const KURL&, LocalFrame*, WeakPtrWillBeRawPtr<Document> contextDocument = nullptr, HTMLImportsController* = nullptr);
+ DocumentInit(const KURL& = KURL(), LocalFrame* = nullptr, RawPtr<Document> contextDocument = nullptr, HTMLImportsController* = nullptr);
+ DocumentInit(RawPtr<Document> ownerDocument, const KURL&, LocalFrame*, RawPtr<Document> contextDocument = nullptr, HTMLImportsController* = nullptr);
DocumentInit(const DocumentInit&);
~DocumentInit();
@@ -76,21 +76,21 @@ public:
DocumentInit& withRegistrationContext(CustomElementRegistrationContext*);
DocumentInit& withNewRegistrationContext();
- PassRefPtrWillBeRawPtr<CustomElementRegistrationContext> registrationContext(Document*) const;
- WeakPtrWillBeRawPtr<Document> contextDocument() const;
+ RawPtr<CustomElementRegistrationContext> registrationContext(Document*) const;
+ RawPtr<Document> contextDocument() const;
- static DocumentInit fromContext(WeakPtrWillBeRawPtr<Document> contextDocument, const KURL& = KURL());
+ static DocumentInit fromContext(RawPtr<Document> contextDocument, const KURL& = KURL());
private:
LocalFrame* frameForSecurityContext() const;
KURL m_url;
- RawPtrWillBeMember<LocalFrame> m_frame;
- RefPtrWillBeMember<Document> m_parent;
- RefPtrWillBeMember<Document> m_owner;
- WeakPtrWillBeMember<Document> m_contextDocument;
- RawPtrWillBeMember<HTMLImportsController> m_importsController;
- RefPtrWillBeMember<CustomElementRegistrationContext> m_registrationContext;
+ Member<LocalFrame> m_frame;
+ Member<Document> m_parent;
+ Member<Document> m_owner;
+ Member<Document> m_contextDocument;
+ Member<HTMLImportsController> m_importsController;
+ Member<CustomElementRegistrationContext> m_registrationContext;
bool m_createNewRegistrationContext;
// In some rare cases, we'll re-use a LocalDOMWindow for a new Document. For example,
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentFragment.cpp ('k') | third_party/WebKit/Source/core/dom/DocumentInit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698