| Index: Source/bindings/dart/DartCustomElementBinding.cpp
|
| diff --git a/Source/bindings/v8/custom/V8WorkerCryptoCustom.cpp b/Source/bindings/dart/DartCustomElementBinding.cpp
|
| similarity index 82%
|
| copy from Source/bindings/v8/custom/V8WorkerCryptoCustom.cpp
|
| copy to Source/bindings/dart/DartCustomElementBinding.cpp
|
| index 539b9ed11590c17ec5ce2bbc307520a49e6ac24e..abe0696acc348c2c2c64595f4a3ca95580e96b74 100644
|
| --- a/Source/bindings/v8/custom/V8WorkerCryptoCustom.cpp
|
| +++ b/Source/bindings/dart/DartCustomElementBinding.cpp
|
| @@ -29,15 +29,18 @@
|
| */
|
|
|
| #include "config.h"
|
| -#include "V8WorkerCrypto.h"
|
| -
|
| -#include "V8Crypto.h"
|
| +#include "bindings/dart/DartCustomElementBinding.h"
|
|
|
| namespace WebCore {
|
|
|
| -void V8WorkerCrypto::getRandomValuesMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| +PassOwnPtr<DartCustomElementBinding> DartCustomElementBinding::create(Dart_Handle customType)
|
| +{
|
| + return adoptPtr(new DartCustomElementBinding(customType));
|
| +}
|
| +
|
| +DartCustomElementBinding::DartCustomElementBinding(Dart_Handle customType)
|
| + : m_customType(Dart_NewPersistentHandle(customType))
|
| {
|
| - V8Crypto::getRandomValuesMethodCustom(args);
|
| }
|
|
|
| } // namespace WebCore
|
|
|