| Index: third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp
|
| diff --git a/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp b/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp
|
| index 45d42529303ead8c6f0f9d5c596b395ef43fa64b..be1abd19c605bc18e2d28f602993143eeee36256 100644
|
| --- a/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp
|
| +++ b/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp
|
| @@ -93,8 +93,7 @@ void ContentDecryptionModuleResultPromise::reject(ExceptionCode code, const Stri
|
| // already posted that need to happen only after the promise is resolved.)
|
| // TODO(jrummell): Make resolving a promise asynchronous as well (including
|
| // making sure events still happen after the promise is resolved).
|
| - getExecutionContext()->postTask(BLINK_FROM_HERE,
|
| - createSameThreadTask(&ContentDecryptionModuleResultPromise::rejectInternal, this, code, errorMessage));
|
| + getExecutionContext()->postTask(BLINK_FROM_HERE, createSameThreadTask(&ContentDecryptionModuleResultPromise::rejectInternal, wrapPersistent(this), code, errorMessage));
|
| }
|
|
|
| void ContentDecryptionModuleResultPromise::rejectInternal(ExceptionCode code, const String& errorMessage)
|
|
|