| Index: content/browser/media/capture/aura_window_capture_machine.cc
|
| diff --git a/content/browser/media/capture/aura_window_capture_machine.cc b/content/browser/media/capture/aura_window_capture_machine.cc
|
| index 87b8623a9a9cc587c567fba34ce00df9eef6892e..cba0fbb037c0202c97c469f712c10d410c748716 100644
|
| --- a/content/browser/media/capture/aura_window_capture_machine.cc
|
| +++ b/content/browser/media/capture/aura_window_capture_machine.cc
|
| @@ -306,8 +306,10 @@ bool AuraWindowCaptureMachine::ProcessCopyOutputResponse(
|
| if (result->IsEmpty() || result->size().IsEmpty() || !desktop_window_)
|
| return false;
|
|
|
| - if (capture_params_.requested_format.pixel_format ==
|
| - media::PIXEL_FORMAT_TEXTURE) {
|
| + if (capture_params_.requested_format.pixel_storage ==
|
| + media::PIXEL_STORAGE_TEXTURE) {
|
| + DCHECK_EQ(media::PIXEL_FORMAT_ARGB,
|
| + capture_params_.requested_format.pixel_format);
|
| DCHECK(!video_frame.get());
|
| cc::TextureMailbox texture_mailbox;
|
| scoped_ptr<cc::SingleReleaseCallback> release_callback;
|
|
|