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

Unified Diff: content/browser/webrtc/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: content/browser/webrtc/webrtc_webcam_browsertest.cc
diff --git a/content/browser/webrtc/webrtc_webcam_browsertest.cc b/content/browser/webrtc/webrtc_webcam_browsertest.cc
index c0c7ad50e464a91f391c3518f7273fa49ae733a9..1bd96125a67c9bb1a59d743989a62d0a3ec36e1d 100644
--- a/content/browser/webrtc/webrtc_webcam_browsertest.cc
+++ b/content/browser/webrtc/webrtc_webcam_browsertest.cc
@@ -75,7 +75,7 @@ IN_PROC_BROWSER_TEST_F(WebRtcWebcamBrowserTest,
std::string result;
ASSERT_TRUE(ExecuteScriptAndExtractString(
- shell(), "hasVideoInputDeviceOnSystem()", &result));
+ shell(), content::hasVideoInputDeviceFunction, &result));
mcasas 2016/09/06 15:34:54 No need to specify content:: Also, here you seem
lunalu1 2016/09/06 20:56:13 Done.
if (result != "has-video-input-device") {
VLOG(0) << "No video device; skipping test...";
return;

Powered by Google App Engine
This is Rietveld 408576698