Title: [114986] trunk/Source/WebCore
Revision
114986
Author
hara...@chromium.org
Date
2012-04-23 19:11:07 -0700 (Mon, 23 Apr 2012)

Log Message

[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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (114985 => 114986)


--- trunk/Source/WebCore/ChangeLog	2012-04-24 02:07:52 UTC (rev 114985)
+++ trunk/Source/WebCore/ChangeLog	2012-04-24 02:11:07 UTC (rev 114986)
@@ -1,3 +1,19 @@
+2012-04-23  Kentaro Hara  <hara...@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  <jam...@chromium.org>
 
         [chromium] Use TextureLayerChromium for WebGL content instead of a dedicated layer type

Modified: trunk/Source/WebCore/bindings/v8/V8Proxy.cpp (114985 => 114986)


--- trunk/Source/WebCore/bindings/v8/V8Proxy.cpp	2012-04-24 02:07:52 UTC (rev 114985)
+++ trunk/Source/WebCore/bindings/v8/V8Proxy.cpp	2012-04-24 02:11:07 UTC (rev 114986)
@@ -593,11 +593,6 @@
     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);

Modified: trunk/Source/WebCore/bindings/v8/V8Proxy.h (114985 => 114986)


--- trunk/Source/WebCore/bindings/v8/V8Proxy.h	2012-04-24 02:07:52 UTC (rev 114985)
+++ trunk/Source/WebCore/bindings/v8/V8Proxy.h	2012-04-24 02:11:07 UTC (rev 114986)
@@ -242,7 +242,6 @@
 
         // 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();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to