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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationController.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/modules/presentation/PresentationController.h
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationController.h b/third_party/WebKit/Source/modules/presentation/PresentationController.h
index 8fab614581ff273e5dfc6fc4b85f0d3ec53767fe..4228113d3fcee9a2bb39fe60eb518cfcd023788f 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationController.h
+++ b/third_party/WebKit/Source/modules/presentation/PresentationController.h
@@ -26,17 +26,16 @@ enum class WebPresentationConnectionState;
// The coordinator between the various page exposed properties and the content
// layer represented via |WebPresentationClient|.
class MODULES_EXPORT PresentationController final
- : public NoBaseWillBeGarbageCollectedFinalized<PresentationController>
- , public WillBeHeapSupplement<LocalFrame>
+ : public GarbageCollectedFinalized<PresentationController>
+ , public HeapSupplement<LocalFrame>
, public LocalFrameLifecycleObserver
, public WebPresentationController {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PresentationController);
- USING_FAST_MALLOC_WILL_BE_REMOVED(PresentationController);
+ USING_GARBAGE_COLLECTED_MIXIN(PresentationController);
WTF_MAKE_NONCOPYABLE(PresentationController);
public:
~PresentationController() override;
- static PassOwnPtrWillBeRawPtr<PresentationController> create(LocalFrame&, WebPresentationClient*);
+ static RawPtr<PresentationController> create(LocalFrame&, WebPresentationClient*);
static const char* supplementName();
static PresentationController* from(LocalFrame&);
@@ -85,14 +84,14 @@ private:
WebPresentationClient* m_client;
// Default PresentationRequest used by the embedder.
- // PersistentWillBeMember<PresentationRequest> m_defaultRequest;
+ // Member<PresentationRequest> m_defaultRequest;
WeakMember<Presentation> m_presentation;
// The presentation connections associated with that frame.
// TODO(mlamouri): the PresentationController will keep any created
// connections alive until the frame is detached. These should be weak ptr
// so that the connection can be GC'd.
- PersistentHeapHashSetWillBeHeapHashSet<Member<PresentationConnection>> m_connections;
+ HeapHashSet<Member<PresentationConnection>> m_connections;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698