| Index: third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
|
| diff --git a/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp b/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
|
| index 208fd6929e892f123eca7c0f717cea8053e13176..e054159b48fa66e7f0baded20dda34d587a2fde4 100644
|
| --- a/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
|
| +++ b/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
|
| @@ -99,7 +99,7 @@ void RTCDataChannel::dispose()
|
| // Promptly clears a raw reference from content/ to an on-heap object
|
| // so that content/ doesn't access it in a lazy sweeping phase.
|
| m_handler->setClient(nullptr);
|
| - m_handler.clear();
|
| + m_handler.reset();
|
| }
|
|
|
| RTCDataChannel::ReadyState RTCDataChannel::getHandlerState() const
|
| @@ -329,7 +329,7 @@ void RTCDataChannel::stop()
|
|
|
| m_stopped = true;
|
| m_handler->setClient(nullptr);
|
| - m_handler.clear();
|
| + m_handler.reset();
|
| }
|
|
|
| // ActiveScriptWrappable
|
|
|