From ee0c854114f42eed11a41d0b930ec2b341632156 Mon Sep 17 00:00:00 2001 From: "avi@google.com" Date: Thu, 11 Sep 2008 20:53:28 +0000 Subject: Minor fixes for Mac main. Won't compile cleanly until the WebCore merge comes. Review URL: http://codereview.chromium.org/1949 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2078 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/tools/test_shell/mac/main.mm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'webkit') diff --git a/webkit/tools/test_shell/mac/main.mm b/webkit/tools/test_shell/mac/main.mm index 85ef884..0e7a47d 100644 --- a/webkit/tools/test_shell/mac/main.mm +++ b/webkit/tools/test_shell/mac/main.mm @@ -8,8 +8,6 @@ #include -#include "config.h" - // #include "base/event_recorder.h" #include "base/basictypes.h" #include "base/command_line.h" @@ -29,7 +27,7 @@ static char g_currentTestName[PATH_MAX]; // Extracts the name of the test from the given path and sets the test name // global. -void SetCurrentTestName(const char* path) { +void SetCurrentTestName(char* path) { char* lastSlash = strrchr(path, '/'); if (lastSlash) { ++lastSlash; -- cgit v1.1