| Index: Source/bindings/v8/ExceptionMessages.cpp
|
| diff --git a/Source/bindings/v8/custom/V8WorkerCryptoCustom.cpp b/Source/bindings/v8/ExceptionMessages.cpp
|
| similarity index 87%
|
| copy from Source/bindings/v8/custom/V8WorkerCryptoCustom.cpp
|
| copy to Source/bindings/v8/ExceptionMessages.cpp
|
| index 539b9ed11590c17ec5ce2bbc307520a49e6ac24e..15c7f28eb87c63553e4a9e7ba5c2d2414d5a9c43 100644
|
| --- a/Source/bindings/v8/custom/V8WorkerCryptoCustom.cpp
|
| +++ b/Source/bindings/v8/ExceptionMessages.cpp
|
| @@ -29,15 +29,13 @@
|
| */
|
|
|
| #include "config.h"
|
| -#include "V8WorkerCrypto.h"
|
| -
|
| -#include "V8Crypto.h"
|
| +#include "bindings/v8/ExceptionMessages.h"
|
|
|
| namespace WebCore {
|
|
|
| -void V8WorkerCrypto::getRandomValuesMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| +String ExceptionMessages::failedToExecute(const String& method, const String& type, const String& detail)
|
| {
|
| - V8Crypto::getRandomValuesMethodCustom(args);
|
| + return "Failed to execute '" + method + "' on '" + type + "': " + detail;
|
| }
|
|
|
| } // namespace WebCore
|
|
|