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

Side by Side Diff: Source/modules/mediastream/MediaStreamEvent.cpp

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 */ 23 */
24 24
25 #include "config.h" 25 #include "config.h"
26 #include "modules/mediastream/MediaStreamEvent.h" 26 #include "modules/mediastream/MediaStreamEvent.h"
27 27
28 #include "core/events/ThreadLocalEventNames.h" 28 #include "core/events/ThreadLocalEventNames.h"
29 29
30 namespace WebCore { 30 namespace WebCore {
31 31
32 MediaStreamEventInit::MediaStreamEventInit() 32 MediaStreamEventInit::MediaStreamEventInit()
33 : stream(0) 33 : stream(nullptr)
34 { 34 {
35 } 35 }
36 36
37 PassRefPtr<MediaStreamEvent> MediaStreamEvent::create() 37 PassRefPtr<MediaStreamEvent> MediaStreamEvent::create()
38 { 38 {
39 return adoptRef(new MediaStreamEvent); 39 return adoptRef(new MediaStreamEvent);
40 } 40 }
41 41
42 PassRefPtr<MediaStreamEvent> MediaStreamEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStream> stream) 42 PassRefPtr<MediaStreamEvent> MediaStreamEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStream> stream)
43 { 43 {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 return m_stream.get(); 83 return m_stream.get();
84 } 84 }
85 85
86 const AtomicString& MediaStreamEvent::interfaceName() const 86 const AtomicString& MediaStreamEvent::interfaceName() const
87 { 87 {
88 return EventNames::MediaStreamEvent; 88 return EventNames::MediaStreamEvent;
89 } 89 }
90 90
91 } // namespace WebCore 91 } // namespace WebCore
92 92
OLDNEW
« no previous file with comments | « Source/modules/mediasource/WebKitSourceBuffer.cpp ('k') | Source/modules/mediastream/RTCDTMFSender.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698