| Index: components/url_formatter/elide_url.cc
|
| diff --git a/components/url_formatter/elide_url.cc b/components/url_formatter/elide_url.cc
|
| index 3d216a6f605455e05550e4351a80558d3357144b..80e7866880d25f130c5051b9d6eacc1238a4ed59 100644
|
| --- a/components/url_formatter/elide_url.cc
|
| +++ b/components/url_formatter/elide_url.cc
|
| @@ -13,14 +13,14 @@
|
| #include "url/gurl.h"
|
| #include "url/url_constants.h"
|
|
|
| -#if !defined(OS_ANDROID) || defined(USE_AURA)
|
| +#if !defined(OS_ANDROID)
|
| #include "ui/gfx/text_elider.h" // nogncheck
|
| #include "ui/gfx/text_utils.h" // nogncheck
|
| -#endif // !defined(OS_ANDROID) || defined(USE_AURA)
|
| +#endif
|
|
|
| namespace {
|
|
|
| -#if !defined(OS_ANDROID) || defined(USE_AURA)
|
| +#if !defined(OS_ANDROID)
|
| const base::char16 kDot = '.';
|
|
|
| // Build a path from the first |num_components| elements in |path_elements|.
|
| @@ -102,7 +102,7 @@
|
| }
|
| }
|
|
|
| -#endif // !defined(OS_ANDROID) || defined(USE_AURA)
|
| +#endif // !defined(OS_ANDROID)
|
|
|
| base::string16 FormatUrlForSecurityDisplayInternal(const GURL& url,
|
| const std::string& languages,
|
| @@ -154,7 +154,7 @@
|
|
|
| namespace url_formatter {
|
|
|
| -#if !defined(OS_ANDROID) || defined(USE_AURA)
|
| +#if !defined(OS_ANDROID)
|
|
|
| // TODO(pkasting): http://crbug.com/77883 This whole function gets
|
| // kerning/ligatures/etc. issues potentially wrong by assuming that the width of
|
| @@ -354,7 +354,7 @@
|
| return elided_subdomain + url_domain;
|
| }
|
|
|
| -#endif // !defined(OS_ANDROID) || defined(USE_AURA)
|
| +#endif // !defined(OS_ANDROID)
|
|
|
| base::string16 FormatUrlForSecurityDisplay(const GURL& url,
|
| const std::string& languages) {
|
|
|