Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index 555fe19bd2707d54427810b110fd988f742fecce..f300884965233b2d92eac5099e0731ab2bad7c97 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -1183,12 +1183,10 @@ class V8EXPORT String : public Primitive { |
| int Utf8Length() const; |
| /** |
| - * A fast conservative check for non-ASCII characters. May |
| - * return true even for ASCII strings, but if it returns |
| - * false you can be sure that all characters are in the range |
| - * 0-127. |
| + * This function is no longer useful. |
| */ |
| - bool MayContainNonAscii() const; |
| + // TODO(dcarney): deprecate |
|
tfarina
2013/04/26 16:31:52
can we use V8_DEPRECATED?
|
| + V8_INLINE(bool MayContainNonAscii()) const { return true; } |
| /** |
| * Returns whether this string contains only one byte data. |