| Index: Source/bindings/v8/custom/V8ClipboardCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8ClipboardCustom.cpp b/Source/bindings/v8/custom/V8ClipboardCustom.cpp
|
| index b2ef0430852b911a441c4f58f0075e5558aa15e5..189fe99251cc01a16d274361a386678c8b19203a 100644
|
| --- a/Source/bindings/v8/custom/V8ClipboardCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8ClipboardCustom.cpp
|
| @@ -42,24 +42,6 @@
|
|
|
| namespace WebCore {
|
|
|
| -void V8Clipboard::clearDataMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| -{
|
| - Clipboard* clipboard = V8Clipboard::toNative(args.Holder());
|
| -
|
| - if (!args.Length()) {
|
| - clipboard->clearAllData();
|
| - return;
|
| - }
|
| -
|
| - if (args.Length() != 1) {
|
| - throwError(v8SyntaxError, "clearData: Invalid number of arguments", args.GetIsolate());
|
| - return;
|
| - }
|
| -
|
| - V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, type, args[0]);
|
| - clipboard->clearData(type);
|
| -}
|
| -
|
| void V8Clipboard::setDragImageMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| Clipboard* clipboard = V8Clipboard::toNative(args.Holder());
|
|
|