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

Unified Diff: chrome/browser/ui/android/bluetooth_chooser_android.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: chrome/browser/ui/android/bluetooth_chooser_android.cc
diff --git a/chrome/browser/ui/android/bluetooth_chooser_android.cc b/chrome/browser/ui/android/bluetooth_chooser_android.cc
index a15fe998ca7f6a4b1b06934cbecd21850a5a750f..6cb6978e9759ac35883c34bb8428c37dd8ef755e 100644
--- a/chrome/browser/ui/android/bluetooth_chooser_android.cc
+++ b/chrome/browser/ui/android/bluetooth_chooser_android.cc
@@ -30,7 +30,7 @@ BluetoothChooserAndroid::BluetoothChooserAndroid(
: web_contents_(content::WebContents::FromRenderFrameHost(frame)),
event_handler_(event_handler) {
const url::Origin origin = frame->GetLastCommittedOrigin();
- DCHECK(!origin.unique());
+ DCHECK(!origin.opaque());
base::android::ScopedJavaLocalRef<jobject> window_android =
content::ContentViewCore::FromWebContents(web_contents_)

Powered by Google App Engine
This is Rietveld 408576698