Index: src/i18n.cc |
diff --git a/src/i18n.cc b/src/i18n.cc |
index 4f5431fa95fd9904dc4f858cdc9e66f62a74638c..8de2d2998aad89e28bad0cd6f205c30be9016a74 100644 |
--- a/src/i18n.cc |
+++ b/src/i18n.cc |
@@ -145,7 +145,7 @@ void SetResolvedDateSettings(Isolate* isolate, |
icu::UnicodeString pattern; |
date_format->toPattern(pattern); |
JSObject::SetProperty( |
- resolved, factory->NewStringFromStaticChars("pattern"), |
+ resolved, factory->intl_pattern_symbol(), |
factory->NewStringFromTwoByte( |
Vector<const uint16_t>( |
reinterpret_cast<const uint16_t*>(pattern.getBuffer()), |
@@ -367,7 +367,7 @@ void SetResolvedNumberSettings(Isolate* isolate, |
icu::UnicodeString pattern; |
number_format->toPattern(pattern); |
JSObject::SetProperty( |
- resolved, factory->NewStringFromStaticChars("pattern"), |
+ resolved, factory->intl_pattern_symbol(), |
factory->NewStringFromTwoByte( |
Vector<const uint16_t>( |
reinterpret_cast<const uint16_t*>(pattern.getBuffer()), |