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) { |