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

Unified Diff: components/error_page/common/localized_error.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: components/error_page/common/localized_error.cc
diff --git a/components/error_page/common/localized_error.cc b/components/error_page/common/localized_error.cc
index aed848b255073ba3cf99224cf8a89ebcb093f2b1..7b46a8c4cc65b92a26bfef4788d0de9be59dd9a2 100644
--- a/components/error_page/common/localized_error.cc
+++ b/components/error_page/common/localized_error.cc
@@ -647,7 +647,7 @@ void GetSuggestionsSummaryList(int error_code,
DCHECK(suggestions_summary_list->empty());
DCHECK(!(suggestions & ~SUGGEST_NAVIGATE_TO_ORIGIN));
url::Origin failed_origin(failed_url);
- if (failed_origin.unique())
+ if (failed_origin.opaque())
return;
auto suggestion = base::MakeUnique<base::DictionaryValue>();
« no previous file with comments | « chrome/renderer/content_settings_observer.cc ('k') | components/password_manager/core/browser/credential_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698