Revision: 24744
Author:   [email protected]
Date:     Mon Oct 20 15:07:27 2014 UTC
Log:      Remove deprecated Ascii-related identifiers from include/v8.h

[email protected]

Review URL: https://codereview.chromium.org/665883002
https://code.google.com/p/v8/source/detail?r=24744

Modified:
 /branches/bleeding_edge/include/v8.h

=======================================
--- /branches/bleeding_edge/include/v8.h        Fri Oct 17 00:46:18 2014 UTC
+++ /branches/bleeding_edge/include/v8.h        Mon Oct 20 15:07:27 2014 UTC
@@ -1773,7 +1773,6 @@
   enum Encoding {
     UNKNOWN_ENCODING = 0x1,
     TWO_BYTE_ENCODING = 0x0,
-    ASCII_ENCODING = 0x4,  // TODO(yangguo): deprecate this.
     ONE_BYTE_ENCODING = 0x4
   };
   /**
@@ -1829,7 +1828,6 @@
     NO_OPTIONS = 0,
     HINT_MANY_WRITES_EXPECTED = 1,
     NO_NULL_TERMINATION = 2,
-    PRESERVE_ASCII_NULL = 4,  // TODO(yangguo): deprecate this.
     PRESERVE_ONE_BYTE_NULL = 4,
     // Used by WriteUtf8 to replace orphan surrogate code units with the
// unicode replacement character. Needs to be set to guarantee valid UTF-8
@@ -1867,9 +1865,6 @@
    * Returns true if the string is both external and one-byte.
    */
   bool IsExternalOneByte() const;
-
-  // TODO(yangguo): deprecate this.
-  bool IsExternalAscii() const { return IsExternalOneByte(); }

   class V8_EXPORT ExternalStringResourceBase {  // NOLINT
    public:
@@ -1949,8 +1944,6 @@
     ExternalOneByteStringResource() {}
   };

-  typedef ExternalOneByteStringResource ExternalAsciiStringResource;
-
   /**
* If the string is an external string, return the ExternalStringResourceBase * regardless of the encoding, otherwise return NULL. The encoding of the
@@ -1970,11 +1963,6 @@
    * Returns NULL if IsExternalOneByte() doesn't return true.
    */
const ExternalOneByteStringResource* GetExternalOneByteStringResource() const;
-
-  // TODO(yangguo): deprecate this.
- const ExternalAsciiStringResource* GetExternalAsciiStringResource() const {
-    return GetExternalOneByteStringResource();
-  }

   V8_INLINE static String* Cast(v8::Value* obj);

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to