Index: test/cctest/test-api.cc |
=================================================================== |
--- test/cctest/test-api.cc (revision 1462) |
+++ test/cctest/test-api.cc (working copy) |
@@ -5321,7 +5321,7 @@ |
static void CheckTryCatchSourceInfo(v8::Handle<v8::Script> script, |
- char* resource_name, |
+ const char* resource_name, |
int line_offset) { |
v8::HandleScope scope; |
v8::TryCatch try_catch; |
@@ -5360,7 +5360,7 @@ |
"\n" |
"Foo();\n"); |
- char* resource_name; |
+ const char* resource_name; |
v8::Handle<v8::Script> script; |
resource_name = "test.js"; |
script = v8::Script::Compile(source, v8::String::New(resource_name)); |