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

Unified Diff: third_party/WebKit/Source/core/events/CustomEvent.h

Issue 1852663002: Oilpan: Remove WillBe types (part 9) (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/core/events/CustomEvent.h
diff --git a/third_party/WebKit/Source/core/events/CustomEvent.h b/third_party/WebKit/Source/core/events/CustomEvent.h
index 9ae76f8477bbfce0110b30bc9487eb8ec39c322a..9916057e40bd9db70fa1b0f9b363b69451a4578f 100644
--- a/third_party/WebKit/Source/core/events/CustomEvent.h
+++ b/third_party/WebKit/Source/core/events/CustomEvent.h
@@ -39,14 +39,14 @@ class CORE_EXPORT CustomEvent final : public Event {
public:
~CustomEvent() override;
- static PassRefPtrWillBeRawPtr<CustomEvent> create()
+ static RawPtr<CustomEvent> create()
{
return adoptRefWillBeNoop(new CustomEvent);
}
- static PassRefPtrWillBeRawPtr<CustomEvent> create(const AtomicString& type, const CustomEventInit& initializer)
+ static RawPtr<CustomEvent> create(const AtomicString& type, const CustomEventInit& initializer)
{
- return adoptRefWillBeNoop(new CustomEvent(type, initializer));
+ return new CustomEvent(type, initializer);
}
void initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, const ScriptValue& detail);

Powered by Google App Engine
This is Rietveld 408576698