| Index: ios/web/navigation/navigation_item_impl.mm
|
| diff --git a/ios/web/navigation/navigation_item_impl.mm b/ios/web/navigation/navigation_item_impl.mm
|
| index 76ddec71fb7b5fbf23b9c582e36927acadd12c6a..6b423d1ae8a53c7d3e4e7c74eb4b9d2fa3a603c1 100644
|
| --- a/ios/web/navigation/navigation_item_impl.mm
|
| +++ b/ios/web/navigation/navigation_item_impl.mm
|
| @@ -6,7 +6,7 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "components/url_formatter/url_formatter.h"
|
| +#include "net/base/net_util.h"
|
| #include "ui/base/page_transition_types.h"
|
| #include "ui/gfx/text_elider.h"
|
|
|
| @@ -138,9 +138,9 @@
|
| // Use the virtual URL first if any, and fall back on using the real URL.
|
| base::string16 title;
|
| if (!virtual_url_.is_empty()) {
|
| - title = url_formatter::FormatUrl(virtual_url_, languages);
|
| + title = net::FormatUrl(virtual_url_, languages);
|
| } else if (!url_.is_empty()) {
|
| - title = url_formatter::FormatUrl(url_, languages);
|
| + title = net::FormatUrl(url_, languages);
|
| }
|
|
|
| // For file:// URLs use the filename as the title, not the full path.
|
|
|