| Index: Source/bindings/core/dart/DartUtilities.h
|
| diff --git a/Source/bindings/core/dart/DartUtilities.h b/Source/bindings/core/dart/DartUtilities.h
|
| index d127ea6c8f043bb9712fb7b29ebcded6f85b1b99..eacbb5c9433a41fde9cb103f6f3579865cdb7453 100644
|
| --- a/Source/bindings/core/dart/DartUtilities.h
|
| +++ b/Source/bindings/core/dart/DartUtilities.h
|
| @@ -286,6 +286,10 @@ public:
|
| static void reportProblem(ExecutionContext*, Dart_Handle);
|
| static void reportProblem(ExecutionContext*, Dart_Handle, const String& sourceURL);
|
|
|
| + static Dart_Handle toDartCoreException(const String &className, const String& message);
|
| +
|
| + static Dart_Handle coreArgumentErrorException(const String& message);
|
| +
|
| static Dart_Handle invalidNumberOfArgumentsException()
|
| {
|
| return Dart_NewStringFromCString("Invalid number of arguments");
|
| @@ -872,6 +876,9 @@ public:
|
| static PassRefPtr<WTF::Float32Array> dartToFloat32Array(Dart_NativeArguments args, int idx, Dart_Handle& exception);
|
| static PassRefPtr<WTF::Float32Array> dartToFloat32ArrayWithNullCheck(Dart_NativeArguments args, int idx, Dart_Handle& exception);
|
|
|
| + static bool isUint8Array(Dart_Handle);
|
| + static bool isUint8ClampedArray(Dart_Handle);
|
| +
|
| template<class ElementType, class TransformType, Dart_Handle transform(TransformType)>
|
| static Dart_Handle vectorToDart(const Vector<ElementType>& vector)
|
| {
|
|
|