| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/renderer/media/rtc_video_encoder.h" | 5 #include "content/renderer/media/rtc_video_encoder.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/location.h" | 8 #include "base/location.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 DCHECK(thread_checker_.CalledOnValidThread()); | 649 DCHECK(thread_checker_.CalledOnValidThread()); |
| 650 DVLOG(1) << "NotifyError(): error=" << error; | 650 DVLOG(1) << "NotifyError(): error=" << error; |
| 651 | 651 |
| 652 impl_status_ = error; | 652 impl_status_ = error; |
| 653 gpu_factories_->GetMessageLoop()->PostTask( | 653 gpu_factories_->GetMessageLoop()->PostTask( |
| 654 FROM_HERE, base::Bind(&RTCVideoEncoder::Impl::Destroy, impl_)); | 654 FROM_HERE, base::Bind(&RTCVideoEncoder::Impl::Destroy, impl_)); |
| 655 impl_ = NULL; | 655 impl_ = NULL; |
| 656 } | 656 } |
| 657 | 657 |
| 658 } // namespace content | 658 } // namespace content |
| OLD | NEW |