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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModulesTest.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) 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/bindings/modules/v8/serialization/V8ScriptValueSerializerForModulesTest.cpp
diff --git a/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModulesTest.cpp b/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModulesTest.cpp
index a08f28e66737c245cab0a3d529caf56109b2b829..7b8e7f93e499901b9bc1cec17aacb13b735f48cd 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModulesTest.cpp
+++ b/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModulesTest.cpp
@@ -294,12 +294,13 @@ T subtleCryptoSync(ScriptState* scriptState, PMF func, Args&&... args) {
T result;
(Platform::current()->crypto()->*func)(
std::forward<Args>(args)...,
- toWebCryptoResult(scriptState, WTF::bind(
- [](T* out, T result) {
- *out = result;
- testing::exitRunLoop();
- },
- WTF::unretained(&result))));
+ toWebCryptoResult(scriptState,
+ WTF::bind(
+ [](T* out, T result) {
+ *out = result;
+ testing::exitRunLoop();
+ },
+ WTF::unretained(&result))));
testing::enterRunLoop();
return result;
}
@@ -850,12 +851,12 @@ TEST(V8ScriptValueSerializerForModulesTest, DecodeCryptoKeyInvalid) {
->IsNull());
// Input ends before end of declared public exponent size.
- EXPECT_TRUE(
- V8ScriptValueDeserializerForModules(
- scriptState, serializedValue({0xff, 0x09, 0x3f, 0x00, 0x4b, 0x04,
- 0x0d, 0x01, 0x80, 0x08, 0x03, 0x01}))
- .deserialize()
- ->IsNull());
+ EXPECT_TRUE(V8ScriptValueDeserializerForModules(
+ scriptState,
+ serializedValue({0xff, 0x09, 0x3f, 0x00, 0x4b, 0x04, 0x0d,
+ 0x01, 0x80, 0x08, 0x03, 0x01}))
+ .deserialize()
+ ->IsNull());
}
TEST(V8ScriptValueSerializerForModulesTest, RoundTripDOMFileSystem) {
« no previous file with comments | « third_party/WebKit/Source/bindings/modules/v8/WebGLAny.cpp ('k') | third_party/WebKit/Source/core/animation/Animation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698