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

Unified Diff: third_party/WebKit/Source/core/events/PromiseRejectionEvent.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/events/PromiseRejectionEvent.h
diff --git a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.h b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.h
index c905ef6e7a25bff2f1c882d9517e97c083528731..adff1a95f594466b2832f87c8c2b3073a6c36f08 100644
--- a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.h
+++ b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.h
@@ -19,13 +19,13 @@ namespace blink {
class CORE_EXPORT PromiseRejectionEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<PromiseRejectionEvent> create()
+ static RawPtr<PromiseRejectionEvent> create()
{
- return adoptRefWillBeNoop(new PromiseRejectionEvent);
+ return (new PromiseRejectionEvent);
}
- static PassRefPtrWillBeRawPtr<PromiseRejectionEvent> create(ScriptState* state, const AtomicString& type, const PromiseRejectionEventInit& initializer)
+ static RawPtr<PromiseRejectionEvent> create(ScriptState* state, const AtomicString& type, const PromiseRejectionEventInit& initializer)
{
- return adoptRefWillBeNoop(new PromiseRejectionEvent(state, type, initializer));
+ return (new PromiseRejectionEvent(state, type, initializer));
}
ScriptValue reason(ScriptState*) const;

Powered by Google App Engine
This is Rietveld 408576698