Commit 2ed10f13 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

src: fix minor inefficiency in Buffer::New() call

Commit ccb199af ("src: fix deprecation warnings") passes env()->isolate()
to the Buffer::New() call.  It's somewhat inefficient because the callee
looks up the environment from the isolate.  Just pass the env directly.

PR-URL: https://github.com/iojs/io.js/pull/1577


Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
parent f696c9ef
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment