| Index: ppapi/proxy/video_encoder_resource_unittest.cc
|
| diff --git a/ppapi/proxy/video_encoder_resource_unittest.cc b/ppapi/proxy/video_encoder_resource_unittest.cc
|
| index 0adc1eabe5dcc55c8c1209a4ce476baf282f1f71..cc7ecc88af797dbc0f44684262109d1e7bbe375c 100644
|
| --- a/ppapi/proxy/video_encoder_resource_unittest.cc
|
| +++ b/ppapi/proxy/video_encoder_resource_unittest.cc
|
| @@ -462,11 +462,8 @@ TEST_F(VideoEncoderResourceTest, GetSupportedProfiles) {
|
| profiles_response.push_back(profile);
|
|
|
| SendGetSupportedProfilesReply(params, profiles_response);
|
| - ASSERT_EQ(PP_OK, cb.result());
|
| -
|
| - ASSERT_EQ(2U, profiles_response.size());
|
| - ASSERT_EQ(0, memcmp(&profiles[0], &profiles_response[0],
|
| - sizeof(PP_VideoProfileDescription) * 2));
|
| + ASSERT_EQ(profiles_response.size(), static_cast<uint32_t>(cb.result()));
|
| + ASSERT_EQ(0, memcmp(&profiles[0], &profiles_response[0], sizeof(profiles)));
|
| }
|
| }
|
|
|
|
|