Index: test/cctest/test-lockers.cc |
diff --git a/test/cctest/test-lockers.cc b/test/cctest/test-lockers.cc |
index 109451227692b8dc60d395a4258d8e42fe2eb71f..12b35a5c4da608b9f89cfa1ea86d11c08a151bd3 100644 |
--- a/test/cctest/test-lockers.cc |
+++ b/test/cctest/test-lockers.cc |
@@ -667,7 +667,7 @@ TEST(Regress1433) { |
v8::HandleScope handle_scope(isolate); |
v8::Handle<Context> context = v8::Context::New(isolate); |
v8::Context::Scope context_scope(context); |
- v8::Handle<String> source = v8::String::New("1+1"); |
+ v8::Handle<String> source = v8::String::NewFromUtf8(isolate, "1+1"); |
v8::Handle<Script> script = v8::Script::Compile(source); |
v8::Handle<Value> result = script->Run(); |
v8::String::Utf8Value utf8(result); |