Index: base/memory/scoped_ptr.h |
diff --git a/base/memory/scoped_ptr.h b/base/memory/scoped_ptr.h |
index b14287ceb85d5bcfff88ead9c11eab699c523960..3520a019567526210433e776eeeb982a525ea014 100644 |
--- a/base/memory/scoped_ptr.h |
+++ b/base/memory/scoped_ptr.h |
@@ -123,7 +123,7 @@ struct FreeDeleter { |
// Now that scoped_ptr is almost 100% compatible with std::unique_ptr, we're |
// incrementally migrating scoped_ptr to just be a type alias for |
// std::unique_ptr. The eventual goal is to delete scoped_ptr altogether. |
-#if defined(OS_LINUX) |
+#if defined(OS_LINUX) || defined(OS_WIN) |
template <typename T, typename D = std::default_delete<T>> |
using scoped_ptr = std::unique_ptr<T, D>; |