Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: include/v8.h

Issue 986463005: Add MoveOnlyTypeForCPP03 to UniquePersistent for compatibility with Chromium. (Closed) Base URL: https://github.com/v8/v8.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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&);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698