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

Unified Diff: third_party/WebKit/Source/core/events/CompositionEvent.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/CompositionEvent.h
diff --git a/third_party/WebKit/Source/core/events/CompositionEvent.h b/third_party/WebKit/Source/core/events/CompositionEvent.h
index 8acd3f6e7fbb8e98f10ed1dd59c243dd3fec4c1c..a3ee1491a6e6c759d9c798ae95cf9e8cb5f6da5a 100644
--- a/third_party/WebKit/Source/core/events/CompositionEvent.h
+++ b/third_party/WebKit/Source/core/events/CompositionEvent.h
@@ -35,24 +35,24 @@ namespace blink {
class CompositionEvent final : public UIEvent {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<CompositionEvent> create()
+ static RawPtr<CompositionEvent> create()
{
- return adoptRefWillBeNoop(new CompositionEvent);
+ return (new CompositionEvent);
}
- static PassRefPtrWillBeRawPtr<CompositionEvent> create(const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView> view, const String& data)
+ static RawPtr<CompositionEvent> create(const AtomicString& type, RawPtr<AbstractView> view, const String& data)
{
- return adoptRefWillBeNoop(new CompositionEvent(type, view, data));
+ return (new CompositionEvent(type, view, data));
}
- static PassRefPtrWillBeRawPtr<CompositionEvent> create(const AtomicString& type, const CompositionEventInit& initializer)
+ static RawPtr<CompositionEvent> create(const AtomicString& type, const CompositionEventInit& initializer)
{
- return adoptRefWillBeNoop(new CompositionEvent(type, initializer));
+ return (new CompositionEvent(type, initializer));
}
~CompositionEvent() override;
- void initCompositionEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView>, const String& data);
+ void initCompositionEvent(const AtomicString& type, bool canBubble, bool cancelable, RawPtr<AbstractView>, const String& data);
String data() const { return m_data; }
@@ -62,7 +62,7 @@ public:
private:
CompositionEvent();
- CompositionEvent(const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView>, const String&);
+ CompositionEvent(const AtomicString& type, RawPtr<AbstractView>, const String&);
CompositionEvent(const AtomicString& type, const CompositionEventInit&);
String m_data;

Powered by Google App Engine
This is Rietveld 408576698