projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e638c3
)
Add MoveOnlyTypeForCPP03 to UniquePersistent for compatibility with Chromium.
author
kalman
<kalman@chromium.org>
Fri, 6 Mar 2015 16:39:02 +0000
(08:39 -0800)
committer
Commit bot
<commit-bot@chromium.org>
Fri, 6 Mar 2015 16:39:16 +0000
(16:39 +0000)
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
986463005
Cr-Commit-Position: refs/heads/master@{#27049}
include/v8.h
patch
|
blob
|
history
diff --git
a/include/v8.h
b/include/v8.h
index
2b69fc2
..
446ba87
100644
(file)
--- a/
include/v8.h
+++ b/
include/v8.h
@@
-866,6
+866,11
@@
class Global : public PersistentBase<T> {
*/
Global Pass() { return static_cast<Global&&>(*this); }
+ /*
+ * For compatibility with Chromium's base::Bind (base::Passed).
+ */
+ typedef void MoveOnlyTypeForCPP03;
+
private:
Global(Global&) = delete;
void operator=(Global&) = delete;