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:
kalman 2015-03-06 08:39:02 -08:00 committed by Commit bot
parent 1e638c3610
commit c23035cdd0

View File

@ -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;