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

Unified Diff: third_party/WebKit/Source/modules/websockets/CloseEvent.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, 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/modules/websockets/CloseEvent.h
diff --git a/third_party/WebKit/Source/modules/websockets/CloseEvent.h b/third_party/WebKit/Source/modules/websockets/CloseEvent.h
index 1a33d741152ebb9ceae0d572806de1f92fb8e006..0c9c621e62ca8e048bdcfff2b40e9150b87c8b70 100644
--- a/third_party/WebKit/Source/modules/websockets/CloseEvent.h
+++ b/third_party/WebKit/Source/modules/websockets/CloseEvent.h
@@ -46,19 +46,19 @@ namespace blink {
class CloseEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<CloseEvent> create()
+ static RawPtr<CloseEvent> create()
{
- return adoptRefWillBeNoop(new CloseEvent());
+ return new CloseEvent();
}
- static PassRefPtrWillBeRawPtr<CloseEvent> create(bool wasClean, unsigned short code, const String& reason)
+ static RawPtr<CloseEvent> create(bool wasClean, unsigned short code, const String& reason)
{
- return adoptRefWillBeNoop(new CloseEvent(wasClean, code, reason));
+ return new CloseEvent(wasClean, code, reason);
}
- static PassRefPtrWillBeRawPtr<CloseEvent> create(const AtomicString& type, const CloseEventInit& initializer)
+ static RawPtr<CloseEvent> create(const AtomicString& type, const CloseEventInit& initializer)
{
- return adoptRefWillBeNoop(new CloseEvent(type, initializer));
+ return new CloseEvent(type, initializer);
}
bool wasClean() const { return m_wasClean; }
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIPort.h ('k') | third_party/WebKit/Source/modules/websockets/DOMWebSocket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698