[V8][Refactoring] Remove V8Proxy::throwSyntaxError()
authorharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Apr 2012 02:11:07 +0000 (02:11 +0000)
committerharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Apr 2012 02:11:07 +0000 (02:11 +0000)
https://bugs.webkit.org/show_bug.cgi?id=84627

Reviewed by Nate Chapin.

This patch removes V8Proxy::throwSyntaxError()
since it is no longer used.

No tests. No change in behavior.

* bindings/v8/V8Proxy.cpp:
* bindings/v8/V8Proxy.h:
(V8Proxy):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@114986 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/bindings/v8/V8Proxy.cpp
Source/WebCore/bindings/v8/V8Proxy.h

index 0050e1b..37af970 100644 (file)
@@ -1,3 +1,19 @@
+2012-04-23  Kentaro Hara  <haraken@chromium.org>
+
+        [V8][Refactoring] Remove V8Proxy::throwSyntaxError()
+        https://bugs.webkit.org/show_bug.cgi?id=84627
+
+        Reviewed by Nate Chapin.
+
+        This patch removes V8Proxy::throwSyntaxError()
+        since it is no longer used.
+
+        No tests. No change in behavior.
+
+        * bindings/v8/V8Proxy.cpp:
+        * bindings/v8/V8Proxy.h:
+        (V8Proxy):
+
 2012-04-18  James Robinson  <jamesr@chromium.org>
 
         [chromium] Use TextureLayerChromium for WebGL content instead of a dedicated layer type
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);
index 8319764..7c38795 100644 (file)
@@ -242,7 +242,6 @@ namespace WebCore {
 
         // Helpers for throwing syntax and type errors with predefined messages.
         static v8::Handle<v8::Value> throwTypeError();
-        static v8::Handle<v8::Value> throwSyntaxError();
 
         v8::Local<v8::Context> context();
         v8::Local<v8::Context> mainWorldContext();