| Index: ios/web/navigation/navigation_manager_impl.mm
|
| diff --git a/ios/web/navigation/navigation_manager_impl.mm b/ios/web/navigation/navigation_manager_impl.mm
|
| index 0f5b9dcde986b4b5fd71f19123af50fb06aa786f..b246e7e17e03c15ebaf0ace9fb3799b016ecf84a 100644
|
| --- a/ios/web/navigation/navigation_manager_impl.mm
|
| +++ b/ios/web/navigation/navigation_manager_impl.mm
|
| @@ -32,10 +32,7 @@ bool AreURLsInPageNavigation(const GURL& existing_url, const GURL& new_url) {
|
| if (existing_url == new_url || !new_url.has_ref())
|
| return false;
|
|
|
| - url::Replacements<char> replacements;
|
| - replacements.ClearRef();
|
| - return existing_url.ReplaceComponents(replacements) ==
|
| - new_url.ReplaceComponents(replacements);
|
| + return existing_url.EqualsIgnoringRef(new_url);
|
| }
|
|
|
| } // anonymous namespace
|
|
|