Make ReturnValue a friend of Persistent, so it can use operator*.
authordcarney@chromium.org <dcarney@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 7 Jun 2013 10:46:51 +0000 (10:46 +0000)
committerdcarney@chromium.org <dcarney@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 7 Jun 2013 10:46:51 +0000 (10:46 +0000)
BUG=
R=dcarney@chromium.org, svenpanne@chromium.org

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

Patch from Marja Hölttä <marja@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14999 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

include/v8.h

index f70af47c0eff0a9d9aad0f7b7be536998e3b1b6a..04e608bc39d68a8c608d8fab5031e2be1f80df7b 100644 (file)
@@ -796,6 +796,7 @@ template <class T> class Persistent // NOLINT
  private:
   template<class F> friend class Handle;
   template<class F> friend class Local;
+  template<class F> friend class ReturnValue;
   friend class ImplementationUtilities;
   friend class ObjectTemplate;
   friend class Context;