| Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp
|
| diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp
|
| index aefb7f2e040379cd9edb3c459337047f552427fc..104fd8030bdaf676787d7b9d2eb61d806ebb266b 100644
|
| --- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp
|
| +++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp
|
| @@ -248,7 +248,7 @@ void MediaKeys::contextDestroyed()
|
|
|
| // We don't need the CDM anymore. Only destroyed after all related
|
| // ActiveDOMObjects have been stopped.
|
| - m_cdm.clear();
|
| + m_cdm.reset();
|
| }
|
|
|
| bool MediaKeys::hasPendingActivity() const
|
|
|