Index: vm/class_finalizer_test.cc |
=================================================================== |
--- vm/class_finalizer_test.cc (revision 9829) |
+++ vm/class_finalizer_test.cc (working copy) |
@@ -4,6 +4,7 @@ |
#include "platform/assert.h" |
#include "vm/class_finalizer.h" |
+#include "vm/symbols.h" |
#include "vm/unit_test.h" |
namespace dart { |
@@ -11,7 +12,7 @@ |
static RawClass* CreateTestClass(const char* name) { |
const Array& empty_array = Array::Handle(Array::Empty()); |
- const String& class_name = String::Handle(String::NewSymbol(name)); |
+ const String& class_name = String::Handle(Symbols::New(name)); |
const Script& script = Script::Handle(); |
const Class& cls = |
Class::Handle(Class::New(class_name, script, Scanner::kDummyTokenIndex)); |
@@ -71,7 +72,7 @@ |
static RawLibrary* NewLib(const char* url_chars) { |
- String& url = String::ZoneHandle(String::NewSymbol(url_chars)); |
+ String& url = String::ZoneHandle(Symbols::New(url_chars)); |
return Library::New(url); |
} |