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 14a533227277e554120e428b8d792bace4227f3a..fddc4282c15168ba8e69972ed4841e6c667dcbb1 100644 |
--- a/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp |
+++ b/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp |
@@ -6,7 +6,7 @@ |
#include "bindings/core/v8/ScriptPromise.h" |
#include "bindings/core/v8/ScriptState.h" |
-#include "bindings/core/v8/V8ThrowException.h" |
+#include "bindings/core/v8/V8ThrowDOMException.h" |
#include "core/dom/DOMException.h" |
#include "core/dom/ExecutionContext.h" |
#include "platform/wtf/Assertions.h" |
@@ -95,7 +95,7 @@ void ContentDecryptionModuleResultPromise::Reject(ExceptionCode code, |
ScriptState::Scope scope(resolver_->GetScriptState()); |
v8::Isolate* isolate = resolver_->GetScriptState()->GetIsolate(); |
resolver_->Reject( |
- V8ThrowException::CreateDOMException(isolate, code, error_message)); |
+ V8ThrowDOMException::CreateDOMException(isolate, code, error_message)); |
resolver_.Clear(); |
} |