summaryrefslogtreecommitdiff
path: root/src/string_bytes.cc
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2018-07-09 18:01:13 +0300
committerAnna Henningsen <anna@addaleax.net>2018-07-14 11:57:59 +0200
commit998f9ffd429e10b712b06ea57e598d4b1a55fe64 (patch)
tree9711fb897982dce076fc67b36d2ed6c23d9e6391 /src/string_bytes.cc
parent1062ea4555e21e7e24bb01a04840843979b7df45 (diff)
downloadandroid-node-v8-998f9ffd429e10b712b06ea57e598d4b1a55fe64.tar.gz
android-node-v8-998f9ffd429e10b712b06ea57e598d4b1a55fe64.tar.bz2
android-node-v8-998f9ffd429e10b712b06ea57e598d4b1a55fe64.zip
src,tools: use https://nodejs.org URL when possible.
PR-URL: https://github.com/nodejs/node/pull/21719 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/string_bytes.cc')
-rw-r--r--src/string_bytes.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string_bytes.cc b/src/string_bytes.cc
index 0bc2ec044e..83c74d2f18 100644
--- a/src/string_bytes.cc
+++ b/src/string_bytes.cc
@@ -343,7 +343,7 @@ size_t StringBytes::Write(Isolate* isolate,
// Node's "ucs2" encoding wants LE character data stored in
// the Buffer, so we need to reorder on BE platforms. See
- // http://nodejs.org/api/buffer.html regarding Node's "ucs2"
+ // https://nodejs.org/api/buffer.html regarding Node's "ucs2"
// encoding specification
if (IsBigEndian())
SwapBytes16(buf, nbytes);
@@ -709,7 +709,7 @@ MaybeLocal<Value> StringBytes::Encode(Isolate* isolate,
// Node's "ucs2" encoding expects LE character data inside a
// Buffer, so we need to reorder on BE platforms. See
- // http://nodejs.org/api/buffer.html regarding Node's "ucs2"
+ // https://nodejs.org/api/buffer.html regarding Node's "ucs2"
// encoding specification
if (IsBigEndian()) {
uint16_t* dst = node::UncheckedMalloc<uint16_t>(buflen);