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

Unified Diff: third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.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/app_banner/BeforeInstallPromptEvent.h
diff --git a/third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.h b/third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.h
index 9da892fd7490e441fd65f6cd15390d3b1de96de3..755b92ed29b1d7327d6166631832340b8744a5b1 100644
--- a/third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.h
+++ b/third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.h
@@ -17,7 +17,7 @@ class BeforeInstallPromptEvent;
class BeforeInstallPromptEventInit;
class WebAppBannerClient;
-using UserChoiceProperty = ScriptPromiseProperty<RawPtrWillBeMember<BeforeInstallPromptEvent>, Member<AppBannerPromptResult>, ToV8UndefinedGenerator>;
+using UserChoiceProperty = ScriptPromiseProperty<Member<BeforeInstallPromptEvent>, Member<AppBannerPromptResult>, ToV8UndefinedGenerator>;
class BeforeInstallPromptEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
@@ -25,19 +25,19 @@ public:
~BeforeInstallPromptEvent() override;
// For EventModules.cpp
- static PassRefPtrWillBeRawPtr<BeforeInstallPromptEvent> create()
+ static RawPtr<BeforeInstallPromptEvent> create()
{
- return adoptRefWillBeNoop(new BeforeInstallPromptEvent());
+ return new BeforeInstallPromptEvent();
}
- static PassRefPtrWillBeRawPtr<BeforeInstallPromptEvent> create(const AtomicString& name, ExecutionContext* executionContext, const Vector<String>& platforms, int requestId, WebAppBannerClient* client)
+ static RawPtr<BeforeInstallPromptEvent> create(const AtomicString& name, ExecutionContext* executionContext, const Vector<String>& platforms, int requestId, WebAppBannerClient* client)
{
- return adoptRefWillBeNoop(new BeforeInstallPromptEvent(name, executionContext, platforms, requestId, client));
+ return new BeforeInstallPromptEvent(name, executionContext, platforms, requestId, client);
}
- static PassRefPtrWillBeRawPtr<BeforeInstallPromptEvent> create(const AtomicString& name, const BeforeInstallPromptEventInit& init)
+ static RawPtr<BeforeInstallPromptEvent> create(const AtomicString& name, const BeforeInstallPromptEventInit& init)
{
- return adoptRefWillBeNoop(new BeforeInstallPromptEvent(name, init));
+ return new BeforeInstallPromptEvent(name, init);
}
Vector<String> platforms() const;
@@ -57,7 +57,7 @@ private:
int m_requestId;
WebAppBannerClient* m_client;
- PersistentWillBeMember<UserChoiceProperty> m_userChoice;
+ Member<UserChoiceProperty> m_userChoice;
bool m_registered;
};

Powered by Google App Engine
This is Rietveld 408576698