Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1583)

Unified Diff: src/i18n.h

Issue 1954033002: Remove deprecated uses of WeakCallbackData from i18n. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/i18n.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/i18n.h
diff --git a/src/i18n.h b/src/i18n.h
index a8db4d18a657c4b03c0f6b4379bc9b8e322a1974..2a4c208601298ac56e8075804079a144b12b5327 100644
--- a/src/i18n.h
+++ b/src/i18n.h
@@ -51,8 +51,7 @@ class DateFormat {
// Release memory we allocated for the DateFormat once the JS object that
// holds the pointer gets garbage collected.
- static void DeleteDateFormat(
- const v8::WeakCallbackData<v8::Value, void>& data);
+ static void DeleteDateFormat(const v8::WeakCallbackInfo<void>& data);
private:
DateFormat();
@@ -75,8 +74,7 @@ class NumberFormat {
// Release memory we allocated for the NumberFormat once the JS object that
// holds the pointer gets garbage collected.
- static void DeleteNumberFormat(
- const v8::WeakCallbackData<v8::Value, void>& data);
+ static void DeleteNumberFormat(const v8::WeakCallbackInfo<void>& data);
private:
NumberFormat();
@@ -98,8 +96,7 @@ class Collator {
// Release memory we allocated for the Collator once the JS object that holds
// the pointer gets garbage collected.
- static void DeleteCollator(
- const v8::WeakCallbackData<v8::Value, void>& data);
+ static void DeleteCollator(const v8::WeakCallbackInfo<void>& data);
private:
Collator();
@@ -121,8 +118,7 @@ class BreakIterator {
// Release memory we allocated for the BreakIterator once the JS object that
// holds the pointer gets garbage collected.
- static void DeleteBreakIterator(
- const v8::WeakCallbackData<v8::Value, void>& data);
+ static void DeleteBreakIterator(const v8::WeakCallbackInfo<void>& data);
private:
BreakIterator();
« no previous file with comments | « no previous file | src/i18n.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698