diff --git a/include/v8.h b/include/v8.h index 2b69fc28f6..446ba87133 100644 --- a/include/v8.h +++ b/include/v8.h @@ -866,6 +866,11 @@ class Global : public PersistentBase { */ Global Pass() { return static_cast(*this); } + /* + * For compatibility with Chromium's base::Bind (base::Passed). + */ + typedef void MoveOnlyTypeForCPP03; + private: Global(Global&) = delete; void operator=(Global&) = delete;