buffer: switch to using Maybe<T> API
authorTrevor Norris <trev.norris@gmail.com>
Tue, 2 Jun 2015 16:18:01 +0000 (10:18 -0600)
committerRod Vagg <rod@vagg.org>
Tue, 4 Aug 2015 18:56:11 +0000 (11:56 -0700)
commit571ec13841699d255025b8eaeab17c84fdb4add3
treee79efed4a64ffa0e099442ca73adb3694aee921d
parentd75f5c8d0ecdf400933b601ed07b064dbfe27bf6
buffer: switch to using Maybe<T> API

Use the new Maybe<T> syntax for v8::Object::SetPrototype().

PR-URL: https://github.com/nodejs/io.js/pull/1825
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
src/node_buffer.cc