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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.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/HTMLFrameOwnerElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
index eb38835c4c9b085469eaedd10bca3cd7bedc0a1e..2901c9f4267bff795e3ed0d65c5f425736a29566 100644
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
@@ -39,7 +39,7 @@ class LayoutPart;
class Widget;
class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement, public FrameOwner {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLFrameOwnerElement);
+ USING_GARBAGE_COLLECTED_MIXIN(HTMLFrameOwnerElement);
public:
~HTMLFrameOwnerElement() override;
@@ -62,8 +62,8 @@ public:
virtual bool loadedNonEmptyDocument() const { return false; }
virtual void didLoadNonEmptyDocument() { }
- void setWidget(PassRefPtrWillBeRawPtr<Widget>);
- PassRefPtrWillBeRawPtr<Widget> releaseWidget();
+ void setWidget(RawPtr<Widget>);
+ RawPtr<Widget> releaseWidget();
Widget* ownedWidget() const;
class UpdateSuspendScope {
@@ -99,8 +99,8 @@ private:
virtual ReferrerPolicy referrerPolicyAttribute() { return ReferrerPolicyDefault; }
- RawPtrWillBeMember<Frame> m_contentFrame;
- RefPtrWillBeMember<Widget> m_widget;
+ Member<Frame> m_contentFrame;
+ Member<Widget> m_widget;
SandboxFlags m_sandboxFlags;
};
@@ -136,9 +136,9 @@ public:
}
private:
- CORE_EXPORT static WillBeHeapHashCountedSet<RawPtrWillBeMember<Node>>& disabledSubtreeRoots();
+ CORE_EXPORT static HeapHashCountedSet<Member<Node>>& disabledSubtreeRoots();
- RawPtrWillBeMember<Node> m_root;
+ Member<Node> m_root;
};
DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), owner.isLocal());

Powered by Google App Engine
This is Rietveld 408576698