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

Unified Diff: chrome/browser/ui/android/bluetooth_chooser_android.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/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 0c567a81cd6613f8874ab33a05ca62576ae7fa3b..0bf18eec29944835460a854a270c01a0d3618a21 100644
--- a/chrome/browser/ui/android/bluetooth_chooser_android.cc
+++ b/chrome/browser/ui/android/bluetooth_chooser_android.cc
@@ -29,7 +29,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 =
web_contents_->GetNativeView()->GetWindowAndroid()->GetJavaObject();

Powered by Google App Engine
This is Rietveld 408576698