Add MoveOnlyTypeForCPP03 to UniquePersistent for compatibility with Chromium.
R=dcarney@chromium.org Review URL: https://codereview.chromium.org/986463005 Cr-Commit-Position: refs/heads/master@{#27049}
This commit is contained in:
parent
1e638c3610
commit
c23035cdd0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user