Index: Source/bindings/v8/V8Binding.h |
diff --git a/Source/bindings/v8/V8Binding.h b/Source/bindings/v8/V8Binding.h |
index a20f8a001537e7f0519fd6f843a4a29d01ef3088..70be2c44ca9a2e5670c664a50090b99775216f8d 100644 |
--- a/Source/bindings/v8/V8Binding.h |
+++ b/Source/bindings/v8/V8Binding.h |
@@ -187,15 +187,6 @@ namespace WebCore { |
// FIXME: Replace all the call sites with V8TRYCATCH_FOR_V8STRINGRESOURCE(). |
// Using this method will lead to a wrong behavior, because you cannot stop the |
// execution when an exception is thrown inside stringResource.prepare(). |
- inline String toWebCoreStringWithNullCheck(v8::Handle<v8::Value> value) |
- { |
- V8StringResource<WithNullCheck> stringResource(value); |
- if (!stringResource.prepare()) |
- return String(); |
- return stringResource; |
- } |
- |
- // FIXME: See the above comment. |
inline String toWebCoreStringWithUndefinedOrNullCheck(v8::Handle<v8::Value> value) |
{ |
V8StringResource<WithUndefinedOrNullCheck> stringResource(value); |