From 4c880ef281290a7f25ff3132da9a185e454d3e56 Mon Sep 17 00:00:00 2001 From: "mstarzinger@chromium.org" Date: Tue, 17 Sep 2013 11:54:32 +0000 Subject: [PATCH] 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 --- src/i18n.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/i18n.cc b/src/i18n.cc index 0ae19c8..dbff6e5 100644 --- a/src/i18n.cc +++ b/src/i18n.cc @@ -464,7 +464,7 @@ void SetResolvedNumberSettings(Isolate* isolate, Handle key = isolate->factory()->NewStringFromAscii( CStrVector("minimumSignificantDigits")); - if (resolved->HasLocalProperty(*key)) { + if (JSReceiver::HasLocalProperty(resolved, key)) { JSObject::SetProperty( resolved, isolate->factory()->NewStringFromAscii( @@ -477,7 +477,7 @@ void SetResolvedNumberSettings(Isolate* isolate, key = isolate->factory()->NewStringFromAscii( CStrVector("maximumSignificantDigits")); - if (resolved->HasLocalProperty(*key)) { + if (JSReceiver::HasLocalProperty(resolved, key)) { JSObject::SetProperty( resolved, isolate->factory()->NewStringFromAscii( @@ -855,7 +855,7 @@ icu::SimpleDateFormat* DateFormat::UnpackDateFormat( Handle obj) { Handle key = isolate->factory()->NewStringFromAscii(CStrVector("dateFormat")); - if (obj->HasLocalProperty(*key)) { + if (JSReceiver::HasLocalProperty(obj, key)) { return reinterpret_cast( obj->GetInternalField(0)); } @@ -920,7 +920,7 @@ icu::DecimalFormat* NumberFormat::UnpackNumberFormat( Handle obj) { Handle key = isolate->factory()->NewStringFromAscii(CStrVector("numberFormat")); - if (obj->HasLocalProperty(*key)) { + if (JSReceiver::HasLocalProperty(obj, key)) { return reinterpret_cast(obj->GetInternalField(0)); } @@ -981,7 +981,7 @@ icu::Collator* Collator::UnpackCollator(Isolate* isolate, Handle obj) { Handle key = isolate->factory()->NewStringFromAscii(CStrVector("collator")); - if (obj->HasLocalProperty(*key)) { + if (JSReceiver::HasLocalProperty(obj, key)) { return reinterpret_cast(obj->GetInternalField(0)); } @@ -1045,7 +1045,7 @@ icu::BreakIterator* BreakIterator::UnpackBreakIterator(Isolate* isolate, Handle obj) { Handle key = isolate->factory()->NewStringFromAscii(CStrVector("breakIterator")); - if (obj->HasLocalProperty(*key)) { + if (JSReceiver::HasLocalProperty(obj, key)) { return reinterpret_cast(obj->GetInternalField(0)); } -- 2.7.4