Fix i18n compilation after r16762.

R=dcarney@chromium.org

Review URL: https://codereview.chromium.org/23653041

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16764 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 0e90c689
...@@ -464,7 +464,7 @@ void SetResolvedNumberSettings(Isolate* isolate, ...@@ -464,7 +464,7 @@ void SetResolvedNumberSettings(Isolate* isolate,
Handle<String> key = isolate->factory()->NewStringFromAscii( Handle<String> key = isolate->factory()->NewStringFromAscii(
CStrVector("minimumSignificantDigits")); CStrVector("minimumSignificantDigits"));
if (resolved->HasLocalProperty(*key)) { if (JSReceiver::HasLocalProperty(resolved, key)) {
JSObject::SetProperty( JSObject::SetProperty(
resolved, resolved,
isolate->factory()->NewStringFromAscii( isolate->factory()->NewStringFromAscii(
...@@ -477,7 +477,7 @@ void SetResolvedNumberSettings(Isolate* isolate, ...@@ -477,7 +477,7 @@ void SetResolvedNumberSettings(Isolate* isolate,
key = isolate->factory()->NewStringFromAscii( key = isolate->factory()->NewStringFromAscii(
CStrVector("maximumSignificantDigits")); CStrVector("maximumSignificantDigits"));
if (resolved->HasLocalProperty(*key)) { if (JSReceiver::HasLocalProperty(resolved, key)) {
JSObject::SetProperty( JSObject::SetProperty(
resolved, resolved,
isolate->factory()->NewStringFromAscii( isolate->factory()->NewStringFromAscii(
...@@ -855,7 +855,7 @@ icu::SimpleDateFormat* DateFormat::UnpackDateFormat( ...@@ -855,7 +855,7 @@ icu::SimpleDateFormat* DateFormat::UnpackDateFormat(
Handle<JSObject> obj) { Handle<JSObject> obj) {
Handle<String> key = Handle<String> key =
isolate->factory()->NewStringFromAscii(CStrVector("dateFormat")); isolate->factory()->NewStringFromAscii(CStrVector("dateFormat"));
if (obj->HasLocalProperty(*key)) { if (JSReceiver::HasLocalProperty(obj, key)) {
return reinterpret_cast<icu::SimpleDateFormat*>( return reinterpret_cast<icu::SimpleDateFormat*>(
obj->GetInternalField(0)); obj->GetInternalField(0));
} }
...@@ -920,7 +920,7 @@ icu::DecimalFormat* NumberFormat::UnpackNumberFormat( ...@@ -920,7 +920,7 @@ icu::DecimalFormat* NumberFormat::UnpackNumberFormat(
Handle<JSObject> obj) { Handle<JSObject> obj) {
Handle<String> key = Handle<String> key =
isolate->factory()->NewStringFromAscii(CStrVector("numberFormat")); isolate->factory()->NewStringFromAscii(CStrVector("numberFormat"));
if (obj->HasLocalProperty(*key)) { if (JSReceiver::HasLocalProperty(obj, key)) {
return reinterpret_cast<icu::DecimalFormat*>(obj->GetInternalField(0)); return reinterpret_cast<icu::DecimalFormat*>(obj->GetInternalField(0));
} }
...@@ -981,7 +981,7 @@ icu::Collator* Collator::UnpackCollator(Isolate* isolate, ...@@ -981,7 +981,7 @@ icu::Collator* Collator::UnpackCollator(Isolate* isolate,
Handle<JSObject> obj) { Handle<JSObject> obj) {
Handle<String> key = Handle<String> key =
isolate->factory()->NewStringFromAscii(CStrVector("collator")); isolate->factory()->NewStringFromAscii(CStrVector("collator"));
if (obj->HasLocalProperty(*key)) { if (JSReceiver::HasLocalProperty(obj, key)) {
return reinterpret_cast<icu::Collator*>(obj->GetInternalField(0)); return reinterpret_cast<icu::Collator*>(obj->GetInternalField(0));
} }
...@@ -1045,7 +1045,7 @@ icu::BreakIterator* BreakIterator::UnpackBreakIterator(Isolate* isolate, ...@@ -1045,7 +1045,7 @@ icu::BreakIterator* BreakIterator::UnpackBreakIterator(Isolate* isolate,
Handle<JSObject> obj) { Handle<JSObject> obj) {
Handle<String> key = Handle<String> key =
isolate->factory()->NewStringFromAscii(CStrVector("breakIterator")); isolate->factory()->NewStringFromAscii(CStrVector("breakIterator"));
if (obj->HasLocalProperty(*key)) { if (JSReceiver::HasLocalProperty(obj, key)) {
return reinterpret_cast<icu::BreakIterator*>(obj->GetInternalField(0)); return reinterpret_cast<icu::BreakIterator*>(obj->GetInternalField(0));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment