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

Unified Diff: content/browser/media/capture/web_contents_video_capture_device_unittest.cc

Issue 1418263006: Extend VideoCaptureDevice::Client::OnError() to have a tracked_objects::Location param. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: content/browser/media/capture/web_contents_video_capture_device_unittest.cc
diff --git a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
index c8ea3db7ac834027f2b28000eb41bbbcd58a30f0..7a6463a4a40103c3519ac8113348c40d42c5abc4 100644
--- a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
@@ -407,7 +407,10 @@ class StubClient : public media::VideoCaptureDevice::Client {
frame->visible_rect().size());
}
- void OnError(const std::string& reason) override { error_callback_.Run(); }
+ void OnError(const tracked_objects::Location& from_here,
+ const std::string& reason) override {
+ error_callback_.Run();
+ }
double GetBufferPoolUtilization() const override { return 0.0; }

Powered by Google App Engine
This is Rietveld 408576698