Index: test/cctest/test-weakmaps.cc |
diff --git a/test/cctest/test-weakmaps.cc b/test/cctest/test-weakmaps.cc |
index edbd94cc1e2570482b5a7cb439a5297411bccc83..bc04e6b523d510f5a68f5708f75e45a9bea96c4a 100644 |
--- a/test/cctest/test-weakmaps.cc |
+++ b/test/cctest/test-weakmaps.cc |
@@ -167,7 +167,7 @@ TEST(Regress2060a) { |
LocalContext context; |
v8::HandleScope scope; |
Handle<JSFunction> function = |
- FACTORY->NewFunction(FACTORY->function_symbol(), FACTORY->null_value()); |
+ FACTORY->NewFunction(FACTORY->function_string(), FACTORY->null_value()); |
Handle<JSObject> key = FACTORY->NewJSObject(function); |
Handle<JSWeakMap> weakmap = AllocateJSWeakMap(); |
@@ -203,7 +203,7 @@ TEST(Regress2060b) { |
LocalContext context; |
v8::HandleScope scope; |
Handle<JSFunction> function = |
- FACTORY->NewFunction(FACTORY->function_symbol(), FACTORY->null_value()); |
+ FACTORY->NewFunction(FACTORY->function_string(), FACTORY->null_value()); |
// Start second old-space page so that keys land on evacuation candidate. |
Page* first_page = HEAP->old_pointer_space()->anchor()->next_page(); |