| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index e4c4a11ac767196dc41f7d8e52295fe28faa21c9..e488d61e66da5135ccc8b1dd845362e7c57a4db6 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
|
| + V8_INLINE(bool MayContainNonAscii()) const { return true; }
|
|
|
| /**
|
| * Returns whether this string contains only one byte data.
|
|
|