diff options
author | ZYSzys <17367077526@163.com> | 2018-10-30 19:14:09 +0800 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-11-02 11:01:02 +0100 |
commit | 9e31a7286107cdfa24277cb781b893eb24ebfa9c (patch) | |
tree | a3a61b481633001210c9bd5840fc54f3a108fb85 /src/util.cc | |
parent | 226a41a198af450d6b5d492150276b36b60d5930 (diff) | |
download | android-node-v8-9e31a7286107cdfa24277cb781b893eb24ebfa9c.tar.gz android-node-v8-9e31a7286107cdfa24277cb781b893eb24ebfa9c.tar.bz2 android-node-v8-9e31a7286107cdfa24277cb781b893eb24ebfa9c.zip |
src: use v8:: for consistency in util
PR-URL: https://github.com/nodejs/node/pull/23934
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'src/util.cc')
-rw-r--r-- | src/util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cc b/src/util.cc index a0f0b0bf89..9f0b8ebc9d 100644 --- a/src/util.cc +++ b/src/util.cc @@ -102,7 +102,7 @@ BufferValue::BufferValue(Isolate* isolate, Local<Value> value) { void LowMemoryNotification() { if (v8_initialized) { - auto isolate = v8::Isolate::GetCurrent(); + auto isolate = Isolate::GetCurrent(); if (isolate != nullptr) { isolate->LowMemoryNotification(); } @@ -134,7 +134,7 @@ std::set<std::string> ParseCommaSeparatedSet(const std::string& in) { return out; } -void ThrowErrStringTooLong(v8::Isolate* isolate) { +void ThrowErrStringTooLong(Isolate* isolate) { isolate->ThrowException(ERR_STRING_TOO_LONG(isolate)); } |