src: fix deprecated use of Buffer::New()
authorBen Noordhuis <info@bnoordhuis.nl>
Fri, 1 May 2015 15:18:16 +0000 (17:18 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Mon, 4 May 2015 22:41:31 +0000 (00:41 +0200)
commitf696c9efabd7efc962c6f01ac111c5809117ba95
treeb4feab58055aafdbf43376d96fded3ac25381f6d
parent3dafdc57d1558c1de58f12a5d47e83c66d8d0bc2
src: fix deprecated use of Buffer::New()

Pass the isolate explicitly.  Overlooked in commit ccb199a ("src: fix
deprecation warnings") because g++ 4.8 and 4.9 don't warn for it
whereas g++ 5.1 does.

PR-URL: https://github.com/iojs/io.js/pull/1577
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
src/string_bytes.cc