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

Unified Diff: third_party/WebKit/Source/core/events/CompositionEvent.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/CompositionEvent.h
diff --git a/third_party/WebKit/Source/core/events/CompositionEvent.h b/third_party/WebKit/Source/core/events/CompositionEvent.h
index 8acd3f6e7fbb8e98f10ed1dd59c243dd3fec4c1c..810a180da5fd6e808bd85274c56767a1b309a553 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);
}
- 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;
« no previous file with comments | « third_party/WebKit/Source/core/events/ClipboardEvent.h ('k') | third_party/WebKit/Source/core/events/CompositionEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698