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

Unified Diff: chrome/browser/media/router/presentation_service_delegate_impl.cc

Issue 2716583003: Rename Origin.unique() to opaque().
Patch Set: Update new uses post-rebase Created 3 years, 4 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/router/presentation_service_delegate_impl.cc
diff --git a/chrome/browser/media/router/presentation_service_delegate_impl.cc b/chrome/browser/media/router/presentation_service_delegate_impl.cc
index db3816ef2f5d8fb52065b6a9e1d0232b56e85120..d0c9098e02f3fb1fdf486f4caee757753e963656 100644
--- a/chrome/browser/media/router/presentation_service_delegate_impl.cc
+++ b/chrome/browser/media/router/presentation_service_delegate_impl.cc
@@ -67,7 +67,7 @@ bool ArePresentationRequestsEqual(
const content::PresentationRequest& request2) {
return request1.render_frame_host_id == request2.render_frame_host_id &&
request1.presentation_urls == request2.presentation_urls &&
- ((request1.frame_origin.unique() && request2.frame_origin.unique()) ||
+ ((request1.frame_origin.opaque() && request2.frame_origin.opaque()) ||
(request1.frame_origin == request2.frame_origin));
}

Powered by Google App Engine
This is Rietveld 408576698