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

Unified Diff: chrome/browser/media/webrtc_webcam_browsertest.cc

Issue 2310683003: Removed duplicated JS hasVideoInputDeviceOnSystem() test helper (Closed)
Patch Set: Initial commit Created 4 years, 3 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: chrome/browser/media/webrtc_webcam_browsertest.cc
diff --git a/chrome/browser/media/webrtc_webcam_browsertest.cc b/chrome/browser/media/webrtc_webcam_browsertest.cc
index 9fe32a470b6c69234492896cccb94538f8fd579c..138e9a892515123a1f5618899974f333340e2c3d 100644
--- a/chrome/browser/media/webrtc_webcam_browsertest.cc
+++ b/chrome/browser/media/webrtc_webcam_browsertest.cc
@@ -78,7 +78,7 @@ IN_PROC_BROWSER_TEST_P(WebRtcWebcamBrowserTest,
content::WebContents* tab =
browser()->tab_strip_model()->GetActiveWebContents();
- if (!HasWebcamAvailableOnSystem(tab)) {
+ if (!content::HasWebcamAvailableOnSystem(tab)) {
LOG(INFO) << "No webcam found on bot: skipping...";
mcasas 2016/09/06 15:34:54 nit: s/LOG/DLOG/ which is technically more correct
lunalu1 2016/09/06 20:56:13 Done.
return;
}

Powered by Google App Engine
This is Rietveld 408576698