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

Unified Diff: third_party/WebKit/Source/wtf/testing/RunAllTests.cpp

Issue 1436153002: Apply clang-format with Chromium-style without column limit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/wtf/testing/RunAllTests.cpp
diff --git a/third_party/WebKit/Source/wtf/testing/RunAllTests.cpp b/third_party/WebKit/Source/wtf/testing/RunAllTests.cpp
index 4e4da23335ed71612ed9d9256d3034a0f7b9ea08..bb427510ab12ff8150ac80fe4fc9fae773860132 100644
--- a/third_party/WebKit/Source/wtf/testing/RunAllTests.cpp
+++ b/third_party/WebKit/Source/wtf/testing/RunAllTests.cpp
@@ -36,20 +36,17 @@
#include <base/test/test_suite.h>
#include <string.h>
-static double CurrentTime()
-{
- return 0.0;
+static double CurrentTime() {
+ return 0.0;
}
-static void AlwaysZeroNumberSource(unsigned char* buf, size_t len)
-{
- memset(buf, '\0', len);
+static void AlwaysZeroNumberSource(unsigned char* buf, size_t len) {
+ memset(buf, '\0', len);
}
-int main(int argc, char** argv)
-{
- WTF::setRandomSource(AlwaysZeroNumberSource);
- WTF::initialize(CurrentTime, nullptr, nullptr, nullptr, nullptr);
- WTF::initializeMainThread(0);
- return base::RunUnitTestsUsingBaseTestSuite(argc, argv);
+int main(int argc, char** argv) {
+ WTF::setRandomSource(AlwaysZeroNumberSource);
+ WTF::initialize(CurrentTime, nullptr, nullptr, nullptr, nullptr);
+ WTF::initializeMainThread(0);
+ return base::RunUnitTestsUsingBaseTestSuite(argc, argv);
}
« no previous file with comments | « third_party/WebKit/Source/wtf/dtoa_test.cpp ('k') | third_party/WebKit/Source/wtf/testing/WTFTestPrinters.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698