Remove usage of to-be-deprecated version of Persistent::MakeWeak.
git-svn-id: http://v8-i18n.googlecode.com/svn/trunk@182 24c52dca-d3ef-abce-e343-6dbe4d066545
diff --git a/src/break-iterator.cc b/src/break-iterator.cc
index 73e45b6..ede3536 100644
--- a/src/break-iterator.cc
+++ b/src/break-iterator.cc
@@ -217,7 +217,7 @@
v8::Persistent<v8::Object> wrapper(isolate, local_object);
// Make object handle weak so we can delete iterator once GC kicks in.
- wrapper.MakeWeak<void>(isolate, NULL, &DeleteBreakIterator);
+ wrapper.MakeWeak<void>(NULL, &DeleteBreakIterator);
args.GetReturnValue().Set(wrapper);
wrapper.ClearAndLeak();
}
diff --git a/src/collator.cc b/src/collator.cc
index 8460aee..c4b4472 100644
--- a/src/collator.cc
+++ b/src/collator.cc
@@ -153,7 +153,7 @@
v8::Persistent<v8::Object> wrapper(isolate, local_object);
// Make object handle weak so we can delete iterator once GC kicks in.
- wrapper.MakeWeak<void>(isolate, NULL, &DeleteCollator);
+ wrapper.MakeWeak<void>(NULL, &DeleteCollator);
args.GetReturnValue().Set(wrapper);
wrapper.ClearAndLeak();
}
diff --git a/src/date-format.cc b/src/date-format.cc
index 12b0639..6ce0433 100644
--- a/src/date-format.cc
+++ b/src/date-format.cc
@@ -163,7 +163,7 @@
v8::Persistent<v8::Object> wrapper(isolate, local_object);
// Make object handle weak so we can delete iterator once GC kicks in.
- wrapper.MakeWeak<void>(isolate, NULL, &DeleteDateFormat);
+ wrapper.MakeWeak<void>(NULL, &DeleteDateFormat);
args.GetReturnValue().Set(wrapper);
wrapper.ClearAndLeak();
}
diff --git a/src/number-format.cc b/src/number-format.cc
index c2ee618..492483f 100644
--- a/src/number-format.cc
+++ b/src/number-format.cc
@@ -189,7 +189,7 @@
v8::Persistent<v8::Object> wrapper(isolate, local_object);
// Make object handle weak so we can delete iterator once GC kicks in.
- wrapper.MakeWeak<void>(isolate, NULL, &DeleteNumberFormat);
+ wrapper.MakeWeak<void>(NULL, &DeleteNumberFormat);
args.GetReturnValue().Set(wrapper);
wrapper.ClearAndLeak();
}