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

Unified Diff: media/cdm/ppapi/cdm_file_io_test.cc

Issue 562833002: Encrypted Media: Fix a typo in FileIOTest::MatchResult(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cdm/ppapi/cdm_file_io_test.cc
diff --git a/media/cdm/ppapi/cdm_file_io_test.cc b/media/cdm/ppapi/cdm_file_io_test.cc
index ee6aa0b58ba0aba38635d86168013cb3102fcfe9..f171003f6247a3240b2863623fcc4761d9013307 100644
--- a/media/cdm/ppapi/cdm_file_io_test.cc
+++ b/media/cdm/ppapi/cdm_file_io_test.cc
@@ -364,7 +364,7 @@ bool FileIOTest::MatchesResult(const TestStep& a, const TestStep& b) {
if (a.type != RESULT_READ || a.status != cdm::FileIOClient::kSuccess)
return true;
- return (a.data_size == a.data_size &&
+ return (a.data_size == b.data_size &&
std::equal(a.data, a.data + a.data_size, b.data));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698