Index: third_party/WebKit/Source/platform/heap/HeapTest.cpp |
diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
index c741cfed1bdb38d797e9430d95a86ff147af0739..af153c5587c4c8ab1c4041381dd7eadbd071f0a7 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
+++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
@@ -28,6 +28,8 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+#include <algorithm> |
+#include <memory> |
#include "platform/CrossThreadFunctional.h" |
#include "platform/WebTaskRunner.h" |
#include "platform/heap/Handle.h" |
@@ -45,8 +47,6 @@ |
#include "wtf/HashTraits.h" |
#include "wtf/LinkedHashSet.h" |
#include "wtf/PtrUtil.h" |
-#include <algorithm> |
-#include <memory> |
namespace blink { |
@@ -1048,8 +1048,7 @@ class ObservableWithPreFinalizer |
static bool s_disposeWasCalled; |
protected: |
- ObservableWithPreFinalizer() : m_wasDestructed(false) { |
- } |
+ ObservableWithPreFinalizer() : m_wasDestructed(false) {} |
bool m_wasDestructed; |
}; |
@@ -1076,8 +1075,7 @@ class PreFinalizerBase : public GarbageCollectedFinalized<PreFinalizerBase> { |
} |
protected: |
- PreFinalizerBase() : m_wasDestructed(false) { |
- } |
+ PreFinalizerBase() : m_wasDestructed(false) {} |
bool m_wasDestructed; |
}; |
@@ -1096,8 +1094,7 @@ class PreFinalizerMixin : public GarbageCollectedMixin { |
} |
protected: |
- PreFinalizerMixin() : m_wasDestructed(false) { |
- } |
+ PreFinalizerMixin() : m_wasDestructed(false) {} |
bool m_wasDestructed; |
}; |
@@ -1118,8 +1115,7 @@ class PreFinalizerSubClass : public PreFinalizerBase, public PreFinalizerMixin { |
} |
protected: |
- PreFinalizerSubClass() : m_wasDestructed(false) { |
- } |
+ PreFinalizerSubClass() : m_wasDestructed(false) {} |
bool m_wasDestructed; |
}; |
@@ -1437,8 +1433,7 @@ class PreFinalizationAllocator |
public: |
PreFinalizationAllocator(Persistent<IntWrapper>* wrapper) |
- : m_wrapper(wrapper) { |
- } |
+ : m_wrapper(wrapper) {} |
void dispose() { |
for (int i = 0; i < 10; ++i) |