Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index e4a8be6aea4f63071d21b633c815f1ac306f23f4..04805e47630b04e221f592fb27fdfde521a76063 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -793,6 +793,11 @@ class UniquePersistent : public PersistentBase<T> { |
*/ |
UniquePersistent Pass() { return UniquePersistent(RValue(this)); } |
+ /* |
+ * For compatibility with Chromium's base::Bind (base::Passed). |
+ */ |
+ typedef void MoveOnlyTypeForCPP03; |
+ |
private: |
UniquePersistent(UniquePersistent&); |
void operator=(UniquePersistent&); |