diff options
author | Torne (Richard Coles) <torne@google.com> | 2014-10-22 11:19:47 +0100 |
---|---|---|
committer | Torne (Richard Coles) <torne@google.com> | 2014-10-22 11:19:47 +0100 |
commit | 4cd643d5eeb9fcfd40badacc42cf7e31833965c9 (patch) | |
tree | 73ed1530621bb472be094006dc617e562b739031 | |
parent | 2c02f90de2bab08007a2eb10b28e9e04e0795493 (diff) | |
download | chromium-libpac-4cd643d5eeb9fcfd40badacc42cf7e31833965c9.tar.gz |
Match renaming of ExternalAsciiStringResource.
V8 has removed the ExternalAsciiStringResource alias for the new type
ExternalOneByteStringResource. One-byte strings have Latin-1 encoding,
which is a superset of ASCII, so it's still okay to store ASCII strings
in it.
Change-Id: I54a1c539b004d4ad9073d8a94d7918bf847e8132
-rw-r--r-- | src/proxy_resolver_v8.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proxy_resolver_v8.cc b/src/proxy_resolver_v8.cc index dcd27a1..4d43253 100644 --- a/src/proxy_resolver_v8.cc +++ b/src/proxy_resolver_v8.cc @@ -116,7 +116,8 @@ class V8ExternalStringFromScriptData }; // External string wrapper so V8 can access a string literal. -class V8ExternalASCIILiteral : public v8::String::ExternalAsciiStringResource { +class V8ExternalASCIILiteral + : public v8::String::ExternalOneByteStringResource { public: // |ascii| must be a NULL-terminated C string, and must remain valid // throughout this object's lifetime. |