[V8][Refactoring] Remove V8Proxy::throwSyntaxError()
[WebKit-https.git] / Source / WebCore / bindings / v8 / V8Proxy.cpp
index 6961284..cf73416 100644 (file)
@@ -593,11 +593,6 @@ v8::Handle<v8::Value> V8Proxy::throwTypeError()
     return throwError(TypeError, "Type error");
 }
 
-v8::Handle<v8::Value> V8Proxy::throwSyntaxError()
-{
-    return throwError(SyntaxError, "Syntax error");
-}
-
 v8::Local<v8::Context> V8Proxy::context(Frame* frame)
 {
     v8::Local<v8::Context> context = V8Proxy::mainWorldContext(frame);