Index: third_party/WebKit/Source/wtf/HashTraits.h |
diff --git a/third_party/WebKit/Source/wtf/HashTraits.h b/third_party/WebKit/Source/wtf/HashTraits.h |
index 199b2c684864c4b062e417ffa5a1a394fbd82eeb..061ae6a809d268ae3aa1fc0b76c378e154c2a8e4 100644 |
--- a/third_party/WebKit/Source/wtf/HashTraits.h |
+++ b/third_party/WebKit/Source/wtf/HashTraits.h |
@@ -1,5 +1,6 @@ |
/* |
- * Copyright (C) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights reserved. |
+ * Copyright (C) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights |
+ * reserved. |
* |
* This library is free software; you can redistribute it and/or |
* modify it under the terms of the GNU Library General Public |
@@ -247,8 +248,8 @@ struct HashTraits<std::unique_ptr<T>> |
static PeekOutType peek(std::nullptr_t) { return nullptr; } |
static void constructDeletedValue(std::unique_ptr<T>& slot, bool) { |
- // Dirty trick: implant an invalid pointer to unique_ptr. Destructor isn't called for deleted buckets, |
- // so this is okay. |
+ // Dirty trick: implant an invalid pointer to unique_ptr. Destructor isn't |
+ // called for deleted buckets, so this is okay. |
new (NotNull, &slot) std::unique_ptr<T>(reinterpret_cast<T*>(1u)); |
} |
static bool isDeletedValue(const std::unique_ptr<T>& value) { |