Pass in the prototype to CreateApiFunction rather than setting it on the result.
authorverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 29 Apr 2014 17:48:07 +0000 (17:48 +0000)
committerverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 29 Apr 2014 17:48:07 +0000 (17:48 +0000)
commit22cdf0c0fdbde05e2dc15c4c6445ff3bd683bd8a
tree299e5ea1427f6a6aa27ed3fb1a055accbd0dc818
parent8452271f1b4ada4d1c9e141a4942f9dac032a6e5
Pass in the prototype to CreateApiFunction rather than setting it on the result.

BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/253603003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@21066 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/apinatives.js
src/bootstrapper.cc
src/factory.cc
src/factory.h
src/runtime.cc
src/runtime.h