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

Unified Diff: third_party/WebKit/Source/core/events/ClipboardEvent.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/ClipboardEvent.h
diff --git a/third_party/WebKit/Source/core/events/ClipboardEvent.h b/third_party/WebKit/Source/core/events/ClipboardEvent.h
index 65829ae2118425579f5edebe07353339d1958c9c..db83a1cb503296deada420347087fef5ca12b59c 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

Powered by Google App Engine
This is Rietveld 408576698