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

Unified Diff: third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.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/navigatorcontentutils/NavigatorContentUtils.h
diff --git a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
index 96bf9ba4d0f28a8a4bc63af1bbeeb2b71738ebbb..429fdf45f29c7f27d8920ecc9977563aa8f79c7c 100644
--- a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
+++ b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
@@ -40,9 +40,8 @@ class ExceptionState;
class LocalFrame;
class Navigator;
-class MODULES_EXPORT NavigatorContentUtils final : public NoBaseWillBeGarbageCollectedFinalized<NavigatorContentUtils>, public WillBeHeapSupplement<LocalFrame> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorContentUtils);
- USING_FAST_MALLOC_WILL_BE_REMOVED(NavigatorContentUtils);
+class MODULES_EXPORT NavigatorContentUtils final : public GarbageCollectedFinalized<NavigatorContentUtils>, public HeapSupplement<LocalFrame> {
+ USING_GARBAGE_COLLECTED_MIXIN(NavigatorContentUtils);
public:
virtual ~NavigatorContentUtils();
@@ -53,25 +52,25 @@ public:
static String isProtocolHandlerRegistered(Navigator&, const String& scheme, const String& url, ExceptionState&);
static void unregisterProtocolHandler(Navigator&, const String& scheme, const String& url, ExceptionState&);
- static PassOwnPtrWillBeRawPtr<NavigatorContentUtils> create(PassOwnPtrWillBeRawPtr<NavigatorContentUtilsClient>);
+ static RawPtr<NavigatorContentUtils> create(RawPtr<NavigatorContentUtilsClient>);
DEFINE_INLINE_VIRTUAL_TRACE()
{
visitor->trace(m_client);
- WillBeHeapSupplement<LocalFrame>::trace(visitor);
+ HeapSupplement<LocalFrame>::trace(visitor);
}
- void setClientForTest(PassOwnPtrWillBeRawPtr<NavigatorContentUtilsClient> client) { m_client = client; }
+ void setClientForTest(RawPtr<NavigatorContentUtilsClient> client) { m_client = client; }
private:
- explicit NavigatorContentUtils(PassOwnPtrWillBeRawPtr<NavigatorContentUtilsClient> client)
+ explicit NavigatorContentUtils(RawPtr<NavigatorContentUtilsClient> client)
: m_client(client)
{
}
NavigatorContentUtilsClient* client() { return m_client.get(); }
- OwnPtrWillBeMember<NavigatorContentUtilsClient> m_client;
+ Member<NavigatorContentUtilsClient> m_client;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698