Index: src/i18n.cc |
diff --git a/src/i18n.cc b/src/i18n.cc |
index e58e86823a93458a8500fec85446f6c6886c4688..11941331c9ef42721258dfb2e0fd8a33e7d076d2 100644 |
--- a/src/i18n.cc |
+++ b/src/i18n.cc |
@@ -797,7 +797,7 @@ icu::SimpleDateFormat* DateFormat::UnpackDateFormat( |
void DateFormat::DeleteDateFormat(v8::Isolate* isolate, |
- Persistent<v8::Object>* object, |
+ Persistent<v8::Value>* object, |
void* param) { |
// First delete the hidden C++ object. |
delete reinterpret_cast<icu::SimpleDateFormat*>(Handle<JSObject>::cast( |
@@ -860,7 +860,7 @@ icu::DecimalFormat* NumberFormat::UnpackNumberFormat( |
void NumberFormat::DeleteNumberFormat(v8::Isolate* isolate, |
- Persistent<v8::Object>* object, |
+ Persistent<v8::Value>* object, |
void* param) { |
// First delete the hidden C++ object. |
delete reinterpret_cast<icu::DecimalFormat*>(Handle<JSObject>::cast( |
@@ -920,7 +920,7 @@ icu::Collator* Collator::UnpackCollator(Isolate* isolate, |
void Collator::DeleteCollator(v8::Isolate* isolate, |
- Persistent<v8::Object>* object, |
+ Persistent<v8::Value>* object, |
void* param) { |
// First delete the hidden C++ object. |
delete reinterpret_cast<icu::Collator*>(Handle<JSObject>::cast( |