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

Unified Diff: ppapi/tests/test_video_encoder.cc

Issue 1069653002: ppapi: VideoEncoder: fix reported value for GetSupportedProfiles() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bbudge's nit Created 5 years, 8 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
« no previous file with comments | « ppapi/proxy/video_encoder_resource_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_video_encoder.cc
diff --git a/ppapi/tests/test_video_encoder.cc b/ppapi/tests/test_video_encoder.cc
index 50a936a546fa9e8086498618262eff180f9e3078..2580e11374921678e472b8f84c4acac513f0e654 100644
--- a/ppapi/tests/test_video_encoder.cc
+++ b/ppapi/tests/test_video_encoder.cc
@@ -32,7 +32,7 @@ std::string TestVideoEncoder::TestCreate() {
callback.WaitForResult(
video_encoder.GetSupportedProfiles(callback.GetCallback()));
- ASSERT_EQ(PP_OK, callback.result());
+ ASSERT_GE(callback.result(), 1U);
const std::vector<PP_VideoProfileDescription> video_profiles =
callback.output();
« no previous file with comments | « ppapi/proxy/video_encoder_resource_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698