Index: Source/bindings/v8/custom/V8ClipboardCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8ClipboardCustom.cpp b/Source/bindings/v8/custom/V8ClipboardCustom.cpp |
index a5055ea5b799ca7c97722b6226d2044be1a346b7..899debc636dfade80077371f51fdb13ab51337d9 100644 |
--- a/Source/bindings/v8/custom/V8ClipboardCustom.cpp |
+++ b/Source/bindings/v8/custom/V8ClipboardCustom.cpp |
@@ -76,7 +76,7 @@ void V8Clipboard::clearDataMethodCustom(const v8::FunctionCallbackInfo<v8::Value |
return; |
} |
- String type = toWebCoreString(args[0]); |
+ V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, type, args[0]); |
clipboard->clearData(type); |
} |