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

Unified Diff: third_party/WebKit/Source/core/events/ClipboardEvent.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/ClipboardEvent.h
diff --git a/third_party/WebKit/Source/core/events/ClipboardEvent.h b/third_party/WebKit/Source/core/events/ClipboardEvent.h
index 65829ae2118425579f5edebe07353339d1958c9c..1d35eb63991c79bf02b3cf6452140b2fd5c9a86b 100644
--- a/third_party/WebKit/Source/core/events/ClipboardEvent.h
+++ b/third_party/WebKit/Source/core/events/ClipboardEvent.h
@@ -33,14 +33,14 @@ class ClipboardEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
~ClipboardEvent() override;
- static PassRefPtrWillBeRawPtr<ClipboardEvent> create()
+ static RawPtr<ClipboardEvent> create()
{
- return adoptRefWillBeNoop(new ClipboardEvent());
+ return new ClipboardEvent();
}
- static PassRefPtrWillBeRawPtr<ClipboardEvent> create(const AtomicString& type, bool canBubble, bool cancelable, DataTransfer* dataTransfer)
+ static RawPtr<ClipboardEvent> create(const AtomicString& type, bool canBubble, bool cancelable, DataTransfer* dataTransfer)
{
- return adoptRefWillBeNoop(new ClipboardEvent(type, canBubble, cancelable, dataTransfer));
+ return new ClipboardEvent(type, canBubble, cancelable, dataTransfer);
}
DataTransfer* clipboardData() const { return m_clipboardData.get(); }
@@ -54,7 +54,7 @@ private:
const AtomicString& interfaceName() const override;
bool isClipboardEvent() const override;
- PersistentWillBeMember<DataTransfer> m_clipboardData;
+ Member<DataTransfer> m_clipboardData;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/events/BeforeUnloadEvent.h ('k') | third_party/WebKit/Source/core/events/CompositionEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698