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

Unified Diff: third_party/WebKit/Source/core/events/RelatedEvent.cpp

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/RelatedEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/RelatedEvent.cpp b/third_party/WebKit/Source/core/events/RelatedEvent.cpp
index 17f3bb8e1a5804b3074134b5765a992b1e249493..5db2386fe97bd66059f44a43479070fdb9e47a40 100644
--- a/third_party/WebKit/Source/core/events/RelatedEvent.cpp
+++ b/third_party/WebKit/Source/core/events/RelatedEvent.cpp
@@ -10,19 +10,19 @@ RelatedEvent::~RelatedEvent()
{
}
-PassRefPtrWillBeRawPtr<RelatedEvent> RelatedEvent::create()
+RawPtr<RelatedEvent> RelatedEvent::create()
{
return adoptRefWillBeNoop(new RelatedEvent);
}
-PassRefPtrWillBeRawPtr<RelatedEvent> RelatedEvent::create(const AtomicString& type, bool canBubble, bool cancelable, EventTarget* relatedTarget)
+RawPtr<RelatedEvent> RelatedEvent::create(const AtomicString& type, bool canBubble, bool cancelable, EventTarget* relatedTarget)
{
- return adoptRefWillBeNoop(new RelatedEvent(type, canBubble, cancelable, relatedTarget));
+ return new RelatedEvent(type, canBubble, cancelable, relatedTarget);
}
-PassRefPtrWillBeRawPtr<RelatedEvent> RelatedEvent::create(const AtomicString& type, const RelatedEventInit& initializer)
+RawPtr<RelatedEvent> RelatedEvent::create(const AtomicString& type, const RelatedEventInit& initializer)
{
- return adoptRefWillBeNoop(new RelatedEvent(type, initializer));
+ return new RelatedEvent(type, initializer);
}
RelatedEvent::RelatedEvent()
« no previous file with comments | « third_party/WebKit/Source/core/events/RelatedEvent.h ('k') | third_party/WebKit/Source/core/events/ResourceProgressEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698