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

Unified Diff: content/browser/renderer_host/media/media_devices_dispatcher_host.cc

Issue 2716583003: Rename Origin.unique() to opaque().
Patch Set: Mac fixes Created 3 years, 10 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/renderer_host/media/media_devices_dispatcher_host.cc
diff --git a/content/browser/renderer_host/media/media_devices_dispatcher_host.cc b/content/browser/renderer_host/media/media_devices_dispatcher_host.cc
index 2a28c625bb7c09e59f102e847de7f169efe66827..4dd0ab538100db76c1f86590f08b8fab9c503001 100644
--- a/content/browser/renderer_host/media/media_devices_dispatcher_host.cc
+++ b/content/browser/renderer_host/media/media_devices_dispatcher_host.cc
@@ -151,8 +151,8 @@ void MediaDevicesDispatcherHost::EnumerateDevices(
return;
}
- // Ignore requests from unique origins, but do not crash the renderer.
- if (security_origin.unique())
+ // Ignore requests from opaque origins, but do not crash the renderer.
+ if (security_origin.opaque())
return;
if (!MediaStreamManager::IsOriginAllowed(render_process_id_,

Powered by Google App Engine
This is Rietveld 408576698