aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2014-10-22 11:19:47 +0100
committerTorne (Richard Coles) <torne@google.com>2014-10-27 16:04:45 +0000
commit9ae4ac5fc2643a963679d068ffe43421d435a14b (patch)
treeb1da003b7a4988ae4d4e161b3758bf50f710ee2e
parent536e6cd684a10e16817cecb044ac2f0a46dfb6e4 (diff)
downloadchromium-libpac-9ae4ac5fc2643a963679d068ffe43421d435a14b.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.cc3
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.