Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(832)

Unified Diff: third_party/WebKit/Source/platform/heap/HeapTest.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
« no previous file with comments | « third_party/WebKit/Source/platform/heap/HeapPage.cpp ('k') | third_party/WebKit/Source/platform/heap/PersistentNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698