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

Unified Diff: src/extensions/i18n/break-iterator.js

Issue 18075004: Mark i18n functions as native and set proper names (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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/extensions/i18n/collator.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/extensions/i18n/break-iterator.js
diff --git a/src/extensions/i18n/break-iterator.js b/src/extensions/i18n/break-iterator.js
index 9369082cf62e98ce1b62b9239cd103653484861e..eefd8c2ab1ebd99c5737d7209807bac90e944d11 100644
--- a/src/extensions/i18n/break-iterator.js
+++ b/src/extensions/i18n/break-iterator.js
@@ -118,7 +118,10 @@ function initializeBreakIterator(iterator, locales, options) {
},
ATTRIBUTES.DONT_ENUM
);
+%FunctionSetName(Intl.v8BreakIterator.prototype.resolvedOptions,
+ 'resolvedOptions');
%FunctionRemovePrototype(Intl.v8BreakIterator.prototype.resolvedOptions);
+%SetNativeFlag(Intl.v8BreakIterator.prototype.resolvedOptions);
/**
@@ -136,7 +139,9 @@ function initializeBreakIterator(iterator, locales, options) {
},
ATTRIBUTES.DONT_ENUM
);
+%FunctionSetName(Intl.v8BreakIterator.supportedLocalesOf, 'supportedLocalesOf');
%FunctionRemovePrototype(Intl.v8BreakIterator.supportedLocalesOf);
+%SetNativeFlag(Intl.v8BreakIterator.supportedLocalesOf);
/**
« no previous file with comments | « no previous file | src/extensions/i18n/collator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698