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

Unified Diff: content/renderer/pepper/content_decryptor_delegate.cc

Issue 1575833002: content: build fix about ContentDecryptorDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: content/renderer/pepper/content_decryptor_delegate.cc
diff --git a/content/renderer/pepper/content_decryptor_delegate.cc b/content/renderer/pepper/content_decryptor_delegate.cc
index fbead03cb30f517bb8d7172d4514dec718206c95..3482dedd8d4fb708b50ef6df8adfd80e47cf5cbe 100644
--- a/content/renderer/pepper/content_decryptor_delegate.cc
+++ b/content/renderer/pepper/content_decryptor_delegate.cc
@@ -1067,7 +1067,7 @@ void ContentDecryptorDelegate::DeliverSamples(
Decryptor::AudioDecodeCB audio_decode_cb = audio_decode_cb_.ResetAndReturn();
- const Decryptor::AudioFrames empty_frames;
+ const Decryptor::AudioFrames empty_frames = Decryptor::AudioFrames();
Decryptor::Status status =
PpDecryptResultToMediaDecryptorStatus(sample_info->result);
@@ -1279,7 +1279,7 @@ void ContentDecryptorDelegate::SatisfyAllPendingCallbacksOnError() {
video_decrypt_cb_.ResetAndReturn().Run(media::Decryptor::kError, NULL);
if (!audio_decode_cb_.is_null()) {
- const media::Decryptor::AudioFrames empty_frames;
+ const media::Decryptor::AudioFrames empty_frames = Decryptor::AudioFrames();
audio_decode_cb_.ResetAndReturn().Run(media::Decryptor::kError,
empty_frames);
}
« 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