Chromium Code Reviews| Index: third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandleTest.cpp |
| diff --git a/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandleTest.cpp b/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandleTest.cpp |
| index ae801dc1223209fdaffef48804a85e59d2d37bd2..b92de7efbeb47128ed2210f2f7e762956f75a75a 100644 |
| --- a/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandleTest.cpp |
| +++ b/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandleTest.cpp |
| @@ -401,7 +401,6 @@ TEST_F(FetchFormDataConsumerHandleTest, ZeroByteReadDoesNotAffectDrainingForComp |
| size_t readSize; |
| EXPECT_EQ(kShouldWait, reader->read(nullptr, 0, kNone, &readSize)); |
| testing::runPendingTasks(); |
| - EXPECT_EQ(kOk, reader->read(nullptr, 0, kNone, &readSize)); |
|
hiroshige
2016/09/07 09:38:03
Why this line is removed?
yhirano
2016/09/07 11:03:24
My change makes this read return kShouldWait, and
|
| RefPtr<EncodedFormData> formData = reader->drainAsFormData(); |
| ASSERT_TRUE(formData); |
| EXPECT_TRUE(formData->isSafeToSendToAnotherThread()); |