Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index 7397cc00be9a8052301f6289f2fe349b70f572e3..3bc1f4bea03d831cf802c453eb69c15e6a13f49f 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -282,7 +282,7 @@ Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, |
Handle<Object> GetProperty(Handle<JSReceiver> obj, |
const char* name) { |
Isolate* isolate = obj->GetIsolate(); |
- Handle<String> str = isolate->factory()->LookupAsciiSymbol(name); |
+ Handle<String> str = isolate->factory()->LookupUtf8Symbol(name); |
CALL_HEAP_FUNCTION(isolate, obj->GetProperty(*str), Object); |
} |
@@ -596,7 +596,8 @@ v8::Handle<v8::Array> GetKeysForIndexedInterceptor(Handle<JSReceiver> receiver, |
Handle<Object> GetScriptNameOrSourceURL(Handle<Script> script) { |
Isolate* isolate = script->GetIsolate(); |
Handle<String> name_or_source_url_key = |
- isolate->factory()->LookupAsciiSymbol("nameOrSourceURL"); |
+ isolate->factory()->LookupOneByteSymbol( |
+ STATIC_ASCII_VECTOR("nameOrSourceURL")); |
Handle<JSValue> script_wrapper = GetScriptWrapper(script); |
Handle<Object> property = GetProperty(script_wrapper, |
name_or_source_url_key); |