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

Unified Diff: components/error_page/common/localized_error.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: 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 5192a110541d9c3930529501b2365991e3e18c29..fc802c31f2b90baca1aa87f0f79a15e0fd4e40c8 100644
--- a/components/error_page/common/localized_error.cc
+++ b/components/error_page/common/localized_error.cc
@@ -634,7 +634,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>();

Powered by Google App Engine
This is Rietveld 408576698