| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index ee49ca4349d804a15020c98d5c573012d35f2e7e..0a5d8c33013d5162f87cb52a854d25226b3d6275 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -1185,8 +1185,7 @@ class V8EXPORT String : public Primitive {
|
| /**
|
| * This function is no longer useful.
|
| */
|
| - // TODO(dcarney): deprecate
|
| - V8_INLINE(bool MayContainNonAscii()) const { return true; }
|
| + V8_DEPRECATED(V8_INLINE(bool MayContainNonAscii()) const) { return true; }
|
|
|
| /**
|
| * Returns whether this string contains only one byte data.
|
| @@ -1231,10 +1230,10 @@ class V8EXPORT String : public Primitive {
|
| int length = -1,
|
| int options = NO_OPTIONS) const;
|
| // ASCII characters.
|
| - int WriteAscii(char* buffer,
|
| - int start = 0,
|
| - int length = -1,
|
| - int options = NO_OPTIONS) const;
|
| + V8_DEPRECATED(int WriteAscii(char* buffer,
|
| + int start = 0,
|
| + int length = -1,
|
| + int options = NO_OPTIONS) const);
|
| // One byte characters.
|
| int WriteOneByte(uint8_t* buffer,
|
| int start = 0,
|
|
|