Index: media/base/mock_filters.h |
diff --git a/media/base/mock_filters.h b/media/base/mock_filters.h |
index 6d8c8a993df58ced66847d7f29da99795de7d2e6..8c449968a23b907577bb45832013d01cb6f180e4 100644 |
--- a/media/base/mock_filters.h |
+++ b/media/base/mock_filters.h |
@@ -332,9 +332,9 @@ void RunFilterCallback(::testing::Unused, FilterCallback* callback); |
// methods. |
void DestroyFilterCallback(::testing::Unused, FilterCallback* callback); |
-// Helper gmock action that calls Error() on behalf of the provided filter. |
-ACTION_P2(Error, filter, error) { |
- filter->host()->Error(error); |
+// Helper gmock action that calls SetError() on behalf of the provided filter. |
+ACTION_P2(SetError, filter, error) { |
+ filter->host()->SetError(error); |
} |
} // namespace media |