| Index: third_party/WebKit/Source/platform/CrossThreadCopier.h
|
| diff --git a/third_party/WebKit/Source/platform/CrossThreadCopier.h b/third_party/WebKit/Source/platform/CrossThreadCopier.h
|
| index 863371ae5b1c04318b86a1245d925f2d33cc2910..6491d3fc24283addd5b3cd5f5778280ddf89ccc0 100644
|
| --- a/third_party/WebKit/Source/platform/CrossThreadCopier.h
|
| +++ b/third_party/WebKit/Source/platform/CrossThreadCopier.h
|
| @@ -144,11 +144,11 @@ struct CrossThreadCopier<PassOwnPtr<T>> {
|
| }
|
| };
|
|
|
| -template <typename T>
|
| -struct CrossThreadCopier<std::unique_ptr<T>> {
|
| +template <typename T, typename Deleter>
|
| +struct CrossThreadCopier<std::unique_ptr<T, Deleter>> {
|
| STATIC_ONLY(CrossThreadCopier);
|
| - using Type = std::unique_ptr<T>;
|
| - static std::unique_ptr<T> copy(std::unique_ptr<T> pointer)
|
| + using Type = std::unique_ptr<T, Deleter>;
|
| + static std::unique_ptr<T, Deleter> copy(std::unique_ptr<T, Deleter> pointer)
|
| {
|
| return pointer; // This is in fact a move.
|
| }
|
|
|