| Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| index fb3d232d2a982c70b3cf828e12c90000d614a91e..a8c497630e017ce3502f6b8e8203a9036f340389 100644
|
| --- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| +++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| @@ -374,7 +374,7 @@ void MediaKeySession::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_session.clear();
|
| + m_session.reset();
|
| }
|
|
|
| String MediaKeySession::sessionId() const
|
| @@ -912,7 +912,7 @@ bool MediaKeySession::hasPendingActivity() const
|
| void MediaKeySession::stop()
|
| {
|
| // Stop the CDM from firing any more events for this session.
|
| - m_session.clear();
|
| + m_session.reset();
|
| m_isClosed = true;
|
|
|
| if (m_actionTimer.isActive())
|
|
|