| Index: third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h
|
| diff --git a/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h b/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h
|
| index 62d995d5fa762cefd9abfb8c4edff27f8d64bc81..9fb19bd5482e1e4f0c8061340dd4c32ad12f9ab2 100644
|
| --- a/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h
|
| +++ b/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h
|
| @@ -45,12 +45,16 @@ protected:
|
| m_resolver.clear();
|
| }
|
|
|
| - // Rejects the promise with a DOMException.
|
| + // Rejects the promise with a DOMException. This will post a task to
|
| + // actually reject the promise later on.
|
| void reject(ExceptionCode, const String& errorMessage);
|
|
|
| ExecutionContext* getExecutionContext() const;
|
|
|
| private:
|
| + // Rejects the promise with a DOMException.
|
| + void rejectInternal(ExceptionCode, const String& errorMessage);
|
| +
|
| Member<ScriptPromiseResolver> m_resolver;
|
| };
|
|
|
|
|