Title: [116252] trunk/Tools
Revision
116252
Author
[email protected]
Date
2012-05-06 17:26:43 -0700 (Sun, 06 May 2012)

Log Message

Fix the build after r116246.

* DumpRenderTree/LayoutTestController.cpp: Remove an unused function.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (116251 => 116252)


--- trunk/Tools/ChangeLog	2012-05-07 00:14:35 UTC (rev 116251)
+++ trunk/Tools/ChangeLog	2012-05-07 00:26:43 UTC (rev 116252)
@@ -1,3 +1,9 @@
+2012-05-06  Andy Estes  <[email protected]>
+
+        Fix the build after r116246.
+
+        * DumpRenderTree/LayoutTestController.cpp: Remove an unused function.
+
 2012-05-06  Eric Seidel  <[email protected]>
 
         Update several build-webkit options to match the #defines they toggle

Modified: trunk/Tools/DumpRenderTree/LayoutTestController.cpp (116251 => 116252)


--- trunk/Tools/DumpRenderTree/LayoutTestController.cpp	2012-05-07 00:14:35 UTC (rev 116251)
+++ trunk/Tools/DumpRenderTree/LayoutTestController.cpp	2012-05-07 00:26:43 UTC (rev 116252)
@@ -810,22 +810,6 @@
     }
 }
 
-static bool parsePageNumber(JSContextRef context, int argumentCount, const JSValueRef* arguments, JSValueRef* exception, int& pageNumber)
-{
-    pageNumber = 0;
-    switch (argumentCount) {
-    case 1:
-        pageNumber = static_cast<int>(JSValueToNumber(context, arguments[0], exception));
-        if (*exception)
-            return false;
-        // Fall through.
-    case 0:
-        return true;
-    default:
-        return false;
-    }
-}
-
 static bool parsePageNumberSizeMarings(JSContextRef context, int argumentCount, const JSValueRef* arguments, JSValueRef* exception, int& pageNumber, int& width, int& height, int& marginTop, int& marginRight, int& marginBottom, int& marginLeft)
 {
     pageNumber = 0;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to